AggregateIdGeneratorRegistrar
Registers and provides IdGenerator instances for NamedAggregate types.
This object acts as a registrar and provider for ID generators, allowing for the dynamic initialization of ID generators based on the type of NamedAggregate. It leverages AggregateIdGeneratorFactory implementations to create and register these generators.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Generates a unique ID string for the given key.
Link copied to clipboard
Link copied to clipboard
Retrieves or initializes an IdGenerator for the given NamedAggregate.