I am really enjoying this series, and looking forward to the possibility of another workshop this year (I found out about Saturday's too late to be there). Keep up the good work!
Regarding the lookup of product name when you only have the product id, isn't that something where view-model composition could come into play? Rather than bloating the shopping cart read model with data that it doesn't own, you can compose the final read model that is returned back to the user in some kind of UI composition layer where each logical boundary (here shopping cart and product) can participate in the composition of the read model. Any thoughts?
Thanks for another great episode! I loved that Snoopy mug as well :)
Really interesting discussions guys. There is a lot to learn!
I am really enjoying this series, and looking forward to the possibility of another workshop this year (I found out about Saturday's too late to be there). Keep up the good work!
Regarding the lookup of product name when you only have the product id, isn't that something where view-model composition could come into play? Rather than bloating the shopping cart read model with data that it doesn't own, you can compose the final read model that is returned back to the user in some kind of UI composition layer where each logical boundary (here shopping cart and product) can participate in the composition of the read model. Any thoughts?
That's subjective so we always repeat. Share nothing except the events that change state.