m-r
m-r copied to clipboard
Fixed issue #7 - AggregateRoot version never updated and added a missing cleanup of events
The version of the AggregateRoot gets incremented whenever a new event is applied. Also there was a missing cleanup after saving the events to the store.