Skip to content

Commit

Permalink
Add InScope and more Scope
Browse files Browse the repository at this point in the history
  • Loading branch information
david.geirola committed Dec 4, 2021
1 parent 9266878 commit 43362a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ val user: User = User(

```scala
implicit val scopeCtx: TypedScopeContext[Scope.Endpoint] = ScopeContext.of[Scope.Endpoint]
// scopeCtx: TypedScopeContext[Scope.Endpoint] = scope.TypedScopeContext@5b0788fc
// scopeCtx: TypedScopeContext[Scope.Endpoint] = scope.TypedScopeContext@58a88ab5

user.scoped.as[UserContract]
// res0: UserContract = UserContract(id = 1L, name = "Foo", surname = "Bar")
Expand Down

0 comments on commit 43362a2

Please sign in to comment.