Releases: hallgren/eventsourcing
Releases · hallgren/eventsourcing
eventstore/esdb/v0.0.6
Point to eventsourcing v0.0.21
eventstore/bbolt/v0.0.12
Point to eventsourcing v0.0.21
v0.0.21
RegisterEvents to serialiser on aggregate
-
RegisterEvents aggregate callback: Callback method RegisterEvents on the aggregate that is called then an aggregate is registered to the serializer via the RegisterAggregate method.
-
RegisterAggregate method on serializer: Will register an aggregate and call the RegisterEvents callback method that will register the aggregate events to the serializer.
eventstore/esdb/v0.0.5
Migrated the EventStore-Client-Go module from v1 -> v3.
eventstore/sql/v0.0.12
Check rows.Err()
v0.0.20
- Added
DataAs(i interface{}) error
method on theEvent
struct. Used to convert the Data property to supplied struct. Only the matching properties will be converted asencoding/json
is used in the conversion. - Rewrote the event stream to easier to understand what each method does.
- Added
Subscribers() EventSubscribers
to the repository. The EventSubscribers interface holds the following subscriber methods.- All(f func(e Event)) *subscription
Trigger on every event. - AggregateID(f func(e Event), aggregates ...Aggregate) *subscription
Trigger on events belonging to aggregates based on its identity. - Aggregate(f func(e Event), aggregates ...Aggregate) *subscription
Trigger on events based on the aggregate type. - Event(f func(e Event), events ...interface{}) *subscription
Trigger on application specific events. - Name(f func(e Event), aggregate string, events ...string) *subscription
Trigger on the combined aggregate and event name. Could be useful if the aggregate and event type is not accessible.
- All(f func(e Event)) *subscription
- To terminate a subscription the
Close()
method is replacing theUnsubscribe()
snapshotstore/sql/v0.0.8
Point to eventsourcing v0.0.20
eventstore/sql/v0.0.11
Point to eventsourcing v0.0.20
eventstore/esdb/v0.0.4
Point to eventsourcing v0.0.20
eventstore/bbolt/v0.0.11
Point to eventsourcing v0.0.20