AggregateMetadata
constructor(namedAggregate: NamedAggregate, staticTenantId: String?, state: StateAggregateMetadata<S>, command: CommandAggregateMetadata<C>)
Creates a new AggregateMetadata with the specified named aggregate, tenant ID, and metadata.
Parameters
C
The type of the command aggregate.
S
The type of the state aggregate.