remesh-js / remesh

A CQRS-based DDD framework for large and complex TypeScript/JavaScript applications
https://remesh-js.github.io/remesh/dist/index.html
MIT License
653 stars 40 forks source link

feat: add fine-grained crud commands #35

Closed cijiugechu closed 2 years ago

Lucifier129 commented 2 years ago

Sorry, I already add some list commands.

I think updateMany should emit many ItemUpdatedEvent instead of an updatedManyEvent, at least both are needed.

So that users can subscribe ItemAddedEvent to response any command that will add item to list.