Documenting the Meaning of a Domain Event
An event can record an actual occurrence or an intent. Give it a stable identity and a meaning appropriate to its point in the lifecycle.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace two names
ArticlePublished can mean an approved revision became public. PublishRequested can record intent before review. Each allows different downstream actions. See states and transitions.
Check a safe consumer
A search index should use an approved version when following the publication event. Publishing events after a write provides that boundary.[1]