We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current design:
Uuid.Companion.random()
Uuid.Companion.generateUuid(namespace: Uuid, value: String)
Uuidv7(timestamp: Long, random: Random)
Uuidv7(timestamp: Instant, random: Random)
What about these top level function emulating a constructor?
Uuidv4(), Uuidv4(random: Random) Uuidv5(namespace: Uuid, value: String) Uuidv7(timestamp: Long, random: Random), Uuidv7(timestamp: Instant, random: Random)
Uuidv4()
Uuidv4(random: Random)
Uuidv5(namespace: Uuid, value: String)
This needs to be aligned with the stdlib too, see Kotlin/KEEP#382
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current design:
Uuid.Companion.random()
: v4, comes from stdlibUuid.Companion.generateUuid(namespace: Uuid, value: String)
: v5, aligns with stdlibUuidv7(timestamp: Long, random: Random)
,Uuidv7(timestamp: Instant, random: Random)
: v7, top level "constructor"What about these top level function emulating a constructor?
Uuidv4()
,Uuidv4(random: Random)
Uuidv5(namespace: Uuid, value: String)
Uuidv7(timestamp: Long, random: Random)
,Uuidv7(timestamp: Instant, random: Random)
This needs to be aligned with the stdlib too, see Kotlin/KEEP#382
The text was updated successfully, but these errors were encountered: