Domain event

A domain event represent a fact that affected an aggregate. Conceptually speaking, every change in an aggregate is caused by a domain event happening to this aggregate. In event sourcing, domain events are used to reconstitute any state of an aggregate.


UserRegistered, AccountCreated, ArticlePublished

Back to the glossary