Why there is command RenameInventoryItem in SimpleCQRS? And why does it require aggregate loading? What invariant does it protect in this case? Why can't we directly emit event InventoryItemRenamed without aggregate involved?
--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+unsubscribe@googlegroups.com.
Why there is command RenameInventoryItem in SimpleCQRS? And why does it require aggregate loading? What invariant does it protect in this case? Why can't we directly emit event InventoryItemRenamed without aggregate involved?
--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+unsubscribe@googlegroups.com.
Also, consider that while you may not need it now there is nothing that says it won't be required in the future, e.g. a new rule that says deactivated items can't be renamed.
On Thu, Jan 19, 2017 at 3:48 PM, Chris Richardson <ch...@chrisrichardson.net> wrote:
What about verifying that the inventory item exists before emitting the event?
--Learn microservices - http://learnmicroservices.ioMicroservices application platform http://eventuate.io
On Thu, Jan 19, 2017 at 2:37 AM, xiety <xiet...@gmail.com> wrote:
Why there is command RenameInventoryItem in SimpleCQRS? And why does it require aggregate loading? What invariant does it protect in this case? Why can't we directly emit event InventoryItemRenamed without aggregate involved?
--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/dddcqrs.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "DDD/CQRS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dddcqrs+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/dddcqrs.
For more options, visit https://groups.google.com/d/optout.
> email to dddcqrs+unsubscribe@googlegroups.com.
> Visit this group at https://groups.google.com/group/dddcqrs.
> For more options, visit https://groups.google.com/d/optout.
--
Studying for the Turing test
--
You received this message because you are subscribed to a topic in the Google Groups "DDD/CQRS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dddcqrs/K7JRYBuZce8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dddcqrs+unsubscribe@googlegroups.com.