thenativeweb / node-cqrs-domain

Node-cqrs-domain is a node.js module based on nodeEventStore that. It can be very useful as domain component if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.
http://cqrs.js.org/pages/domain.html
MIT License
269 stars 57 forks source link

Command Handler (Be careful!!!) #63

Closed vishant-dhandha closed 8 years ago

vishant-dhandha commented 8 years ago

"Is your use case not solvable without a custom command handling? Sagas? Micro-Services?"

can you please explain this question ? does it mean that we don't need commandHandler for all commands?

i am using cqrs-sample in my project & my folder structure is below: https://github.com/adrai/node-cqrs-domain/tree/master/test/integration/fixture/set2/person

Do i need to make commandHandler.js for handling commands?

adrai commented 8 years ago

no, command will be automatically handled by a default command handler.... a custom command handler is really just needed if you do hackie things...

vishant-dhandha commented 8 years ago

Thank you for you assistance...