Create a command service implementation that only uses the state object.
It will be more functional and work without aggregates.
All the handlers will have a signature of (cmd, state) => events. It implies that #153 would allow splitting an external commands to multiple domain commands.
Create a command service implementation that only uses the state object.
It will be more functional and work without aggregates.
All the handlers will have a signature of
(cmd, state) => events
. It implies that #153 would allow splitting an external commands to multiple domain commands.