Wrong interpretation of the concept "Bounded Context"
mavik opened this issue · 0 comments
mavik commented
Nealio82, thanks for you work, but I'm afraid that you understand the concept "Bounded Context" in wrong way.
In src/AcmeVet/Scheduling/Domain/Appointment/Appointment.php I see "Each Bounded Context will have one Entity class". But Bounded Context can include many entities. Furthermore, Bounded Context is not about entities, it's about Ubiquitous Language. In different Bounded Contexts the same word can has different meanings, we can have entities with the same name in different Bounded Contexts. Classical example is an order, it is not the same for a client (public frontend), for the store and for delivery service. These are different Bounded Contexts.