Module eventually::aggregate::repository
source · Expand description
Module containing the definition of a Repository, to fetch and store Aggregate Roots from a data store.
If you are looking for the Event-sourced implementation of an Aggregate Repository,
take a look at EventSourced
.
Structs§
- An Event-sourced implementation of the Repository interface.
Enums§
- All possible errors returned by
Getter::get
. - All possible errors returned by
Saver::save
.
Traits§
- Trait used to implement read access to a data store from which to load an aggregate::Root instance, given its id.
- A Repository is an object that allows to load and save an Aggregate Root from and to a persistent data store.
- Trait used to implement write access to a data store, which can be used to save the latest state of an aggregate::Root instance.