jamuhl/nodeCQRS — Issue #3: created event not replayed when loading aggregate from history
Author: JamesKyburz
Created: 2012-01-21 19:09:05+00:00
State: open

In commandhandler.js
id is not set if aggregate is created for first time, this causes the created event to be persisted in events:null list, which is not included in the event stream when loading from history....
A fix would be changing the call to es.getEventStream with item.id instead of id.