Releases: hyprnz/es-domain
Add missing export form write model repository folder
v0.2.1 Refactor exports, add missing exports from writeRepository
Correlation and Causation Ids are now optional
- Event Messages
- CausationId - optional
- CorrelationId option
Removed Deprecated classes
Moved External types to a name spaced export and deprecated
Remove un used code from published package
v0.1.18 Remove needed code from package
Add event middleware to write repository
This middleware is generic for post processing events after loading them from persistence.
Its primary purpose is to complete deserialization of custom types on events
Export ReadModelMemoryRepository
v0.1.6 Export In memory read repository(2)
Export ReadModelMemoryRepository
v0.1.4 Export In memory read repository
No longer throw from repo when no events
When repository.load
called and n events no longer throw
Fix Causation Id Handling
v0.1.2 fix causation id handling in aggregate container
AggregateRoots now take constructor parameters
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
AggregateRoots now can take constructor parameters
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