Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在DDD我们使用多个聚合(根 + 实体)对域进行建模时。一个这样的聚合或实体可以通过其id.
DDD
id
在axon中,我看到了聚合和成员实体的概念,但没有看到对其他聚合的引用的概念。
axon
我错过了什么?或者这是不可能的axon?
它的工作原理相同,您可以通过其aggregateId(字符串/UUID/Whatever)保存另一个聚合的引用。
aggregateId
我希望我可以为您提供更多见解,但您的问题相当模糊=)