@event-driven-platform/aggregate-reference
v0.1.3
Published
Typed aggregate references for the event-driven platform.
Readme
@event-driven-platform/aggregate-reference
Defines typed references to domain aggregates without exposing aggregate implementations.
Installation
pnpm add @event-driven-platform/aggregate-referenceRole
AggregateReference carries stable aggregate identity across platform contracts while keeping execution primitives independent of domain aggregate classes and persistence models.
API
AggregateReference,AnyAggregateReference— reference contracts.AggregateReferenceDescriptor— serializable construction input.AggregateReferenceFactory— construction contract.DefaultAggregateReferenceFactory— default validated factory.
