Fixes a bug in the AggregateRoot where an on-method would be called (while applying events) with the value of a property named content on the event (usually undefined) - not the actual event.
Fixed
When on-methods in Aggregate Roots where called while applying events, the wrong object was passed in as the event. Which in most cases would mean they were called with undefined.
Summary
Fixes a bug in the AggregateRoot where an on-method would be called (while applying events) with the value of a property named
content
on the event (usuallyundefined
) - not the actual event.Fixed
undefined
.