Trait esrs::aggregate::Identifier [−][src]
Expand description
The Identifier trait is responsible for naming an aggregate type. Each aggregate type should have an identifier that is unique among all the aggregate types in your application.
Aggregates are linked to their instances & events using their name
and their aggregate_id
. Be very careful when changing
name
, as doing so will break the link between all the aggregates of their type, and their events!