Dealing with nested aggregates in DDD

前端 未结 1 732
有刺的猬
有刺的猬 2021-02-01 07:11

I\'m just getting started in DDD, and I\'m having some trouble figuring out how to accommodate the relational nature of my data. I have what I believe would be considered my ag

1条回答
  •  礼貌的吻别
    2021-02-01 08:14

    The article Robert linked to is a good one. I would add that if ProductComponent exists only in the context of AccountElement and AccountElement exists only in the context of Account, then by extension ProductComponent is in the context of Account.

    0 讨论(0)
提交回复
热议问题