Expand description
Traits to orchestrate and maintain the event-sourcing pattern.
Traitsยง
- EsEntity
- Required trait for all entities to be compatible and recognised by es-entity.
- EsEvent
- Required trait for all event enums to be compatible and recognised by es-entity.
- EsRepo
- Required trait for all repositories to be compatible with es-entity and generate functions.
- Into
Events - Required trait for converting new entities into their initial events before persistence.
- Retryable
Into - TryFrom
Events - Required trait for re-constructing entities from their events in chronological order.