Created
February 11, 2020 07:29
-
-
Save lordcodes/157759b97ebe4796152f80512ec88202 to your computer and use it in GitHub Desktop.
Code for my article "Enforcing type safety of IDs in Kotlin"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data class MessageId(val raw: UUID) | |
| data class ChatId(val raw: String) | |
| data class PersonId(val raw: Long) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment