peter_backlund
924b0784c8
Asynchronous update of the Cargo aggregate. Several properties of the Cargo aggregate are now calculated and persisted, on handling (asynchronously) and on changes to routing (synchronously, since that's inside the cargo aggregate).
Relation between Cargo and its complete delivery history (handling events) is now replaced by explicit repository lookup at the time of cargo status update.
The copy() method on value objects is removed.
All enums in the cargo are now value objects.