Expand description
Typed outward domain events captured separately from aggregate replay bytes.
A DomainEventOccurrence owns canonical bytes at transition time. Aggregate
replay suppresses capture, failed persistence leaves pending occurrences
untouched, and only explicit successful persistence clears them.
Structs§
- Domain
Deletion - Stable deletion body used when no live post-state exists.
- Domain
Deletion Error - A deletion incarnation must be non-zero.
- Domain
Event Body Descriptor - Versioned schema and codec identity for one domain-event body.
- Domain
Event Capture Poison - Sticky first failure that prevents committing an entity’s outward events.
- Domain
Event Commit Guard Error - Manual unit-of-work guard failure for a poisoned entity.
- Domain
Event Descriptor - Semantic domain-event name and independently versioned body contract.
- Domain
Event Envelope - Immutable framework metadata captured with one outward event transition.
- Domain
Event Occurrence - One exact typed outward event captured at aggregate transition time.
- Domain
State Descriptor - Independently versioned public post-transition state descriptor.
Enums§
- Domain
Event Body Kind - How a public domain-event body was derived.
- Domain
Event Capture Error - Typed failure while capturing or parsing an outward occurrence.
- Domain
Event Capture Outcome - Result of a transition-time capture attempt.
Constants§
- DOMAIN_
EVENT_ BODY_ CODEC - Canonical domain-event body codec emitted by Distributed version one.
- DOMAIN_
EVENT_ BODY_ CODEC_ VERSION - Version of
DOMAIN_EVENT_BODY_CODEC. - DOMAIN_
EVENT_ OCCURRENCE_ VERSION - Version of the canonical
DomainEventOccurrenceenvelope. - MAX_
DOMAIN_ EVENT_ BODY_ BYTES - Maximum canonical domain-event body size, in bytes.
- MAX_
DOMAIN_ EVENT_ OCCURRENCE_ WIRE_ BYTES - Maximum accepted serialized occurrence size, including envelope and base64.
Traits§
- Domain
Event - A sparse or explicitly adapted outward domain event.
- Domain
State - A deliberately public post-transition state DTO.