Expand description
The command side: every change goes through here.
The repository turns a command into an Event, projects the next state,
validates it (structure, extensions, relation rules, reference targets),
and commits it with optimistic concurrency and idempotency. It does not
decide who may do what: authorization is the caller’s responsibility
(see crate::access for the visibility primitives).
Structs§
- Committed
- Result of a command.
- Manual
Clock - A manually advanced clock for tests and fixtures.
- Meta
- Metadata common to every command.
- Repository
- System
Clock
Traits§
- Clock
- Source of “now”. Injected so tests are deterministic.