Hello your article is pretty intresting.
i have some questions :
- lets say you need to changeGramsToOunces() of a given ingredient, would you do that trough a usecase ?
- the models Recipe and Ingredient are they aggregates ? if its the case, where one aggregate might need to refer to another aggregate. In such situations, it is advised to use an indirect reference, typically through an identifier (such as a unique ID), rather than directly holding a reference to the other aggregate root object.
- caching the list of recipes in the store is pretty intresting, but how would it handle a objects that has multiple proporties (big sized).
I hope that i didn't overwhelmed with questions.
Kind regards,
Larbi