Skip to content

Commit

Permalink
small correction on type in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Tosca committed May 18, 2024
1 parent a70e6b6 commit 46d2b0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@ val id = typeId().parse<User>(text)

// ... sometime later
val orgExists = someService.checkIfOrganizationExists(id)
// compile error, as id is of type `Id<User` (or `UserId` if using a typealias), not Id<Organization>
// compile error, as id is of type `Id<User>` (or `UserId` if using a typealias),
// not Id<Organization>
```


Expand Down

0 comments on commit 46d2b0f

Please sign in to comment.