DDD: Aggregate Roots

前端 未结 3 690
醉酒成梦
醉酒成梦 2020-12-28 23:47

I need help with finding my aggregate root and boundary.

I have 3 Entities: Plan, PlannedRole and PlannedTraining. Each Plan can include many PlannedRoles and Plann

3条回答
  •  滥情空心
    2020-12-29 00:19

    This is the whole point of CQRS architectures: segregate Commands - that modify the domain - from Queries - that simply give a view of domain state, because requirement for Commands and Queries are so different.

    you can find a good introductions on these blogs :

    • Udi Dahan
    • Greg Young

    and on many other blogs (including mine)

提交回复
热议问题