AggregateIdGenerator

Generates the id of a new aggregate of a type: the id admission gives a creating command that names none, the target of a transformed command left without one, and Ids.next of a type in domain code. One generator may serve every type or one type; a host selects one per type (AggregateIdGenerator.of).

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun next(type: AggregateType): String