AggregateRoots now take constructor parameters
Pre-release
Pre-release
AggregateRoots now take a payload as a set of constructor parameters having at least an id and more parameters as needed.
AggregateRoot creation cannot happen now until the first event is processed assumed to be a device creation event.
With the introduction of snapshots there are now 2 types of device creation events:
- Normal AggregateRoot creation, from event
- AggregateRoot creation from a snapshot event