9 Feb 13:38
CQRS cross aggregate interaction + private state
rogeralsing <roger.alsing <at> precio.se>
2010-02-09 12:38:11 GMT
2010-02-09 12:38:11 GMT
If entities only have private state, how do you deal with interaction between aggregates? e.g. product = GetProduct(123); order.AddProduct(product,3); Lets for the sake of the argument that addproduct can not occur if product is marked as obsolete. How would you deal with that? What's the idea behind completely private state? Why shouldn't order be able to read properties on product? ------------------------------------
RSS Feed