Skip to content

ApplyEventOptions

Defined in: packages/ddd-core/domain/interfaces/aggregate-root.interface.ts:8

Options for applying an event to an aggregate root.

readonly optional fromHistory?: boolean

Defined in: packages/ddd-core/domain/interfaces/aggregate-root.interface.ts:13

Whether the event originates from historical rehydration. If true, the event will not be buffered into uncommitted events.


readonly optional skipHandler?: boolean

Defined in: packages/ddd-core/domain/interfaces/aggregate-root.interface.ts:18

Whether to skip calling the corresponding on<EventName> handler.