msiegenthaler / bezug-eventsourcing

EventSourcing with Akka and an example application (Bezug).
http://eventsourced.ch
1 stars 0 forks source link

ProcessManager have a problem if they need to create new aggregates #4

Closed msiegenthaler closed 10 years ago

msiegenthaler commented 10 years ago

they always generate a new id (with the command). So they forget the created ids on recovery.

msiegenthaler commented 10 years ago

maybe have them use internal events, so they need to create the commands in handle and update their state in a seperate applyEvent method.