Basic Aggregate Question

后端 未结 4 1799
孤独总比滥情好
孤独总比滥情好 2021-01-06 17:57

Is client code allowed to reference entities within an aggregate that is not the root? I have a Story (Root), Team (Entity) and TeamMember

4条回答
  •  半阙折子戏
    2021-01-06 18:56

    I'm not sure about 'root' or 'aggregate' rules but I don't think a Story should know anything about how a Team's membership is managed.

提交回复
热议问题