Companion
object Companion
Properties
Link copied to clipboard
A UUIDv7 for every type, as GlobalIdGenerator.UUID_V7 gives, aimed at a partition when asked.
Functions
Link copied to clipboard
global's ids, whatever the type: its GlobalIdGenerator.next, and no aim. Wow's own UUIDv7 generator gives its aggregate side, which aims; an application's class that is both generators is still asked for GlobalIdGenerator.next alone.
fun of(default: AggregateIdGenerator, byType: Map<AggregateType, AggregateIdGenerator>): AggregateIdGenerator