Facts about what happened, in the past tense. Commands produce events; the
./event-store.ts records them. Events are the substrate for undo
history, timeline replay, debugging and (later) real-time collaboration.
Payloads carry enough information to be self-describing — e.g. a move event
records both from and to so it can be inspected or inverted without the
surrounding aggregate.
Facts about what happened, in the past tense. Commands produce events; the ./event-store.ts records them. Events are the substrate for undo history, timeline replay, debugging and (later) real-time collaboration.
Payloads carry enough information to be self-describing — e.g. a move event records both
fromandtoso it can be inspected or inverted without the surrounding aggregate.