Μετάβαση στο περιεχόμενο
Από την έκδοση 0.5.0 τα πακέτα συνεχίζουν ως @cqrs-ddd, με τεκμηρίωση στο aristoteliss.github.io/ddd-cqrs· οι εφαρμογές NestJS προσθέτουν το @cqrs-ddd/nestjs. Αυτός ο ιστότοπος τεκμηριώνει τη σειρά 0.4.x.

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.