We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
假设这样一个场景:
如果一个 usercase 要求把 a1 的 b1 和 a2 的 b3 进行交换,如何处理呢? 此时 b1、b3 并没有被删除,而是更换了所属聚合根
在系统初始设计时,可以通过 A、B 都是聚合根的方式,来规避此问题。
但功能是不断演变的,假如一开始为了高内聚把 B 作为 A 的实体,产品提出交换 B 的需求,产品会认为很简单,一个 update 就可以了,但在 DDD 场景下就很复杂。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
假设这样一个场景:
如果一个 usercase 要求把 a1 的 b1 和 a2 的 b3 进行交换,如何处理呢?
此时 b1、b3 并没有被删除,而是更换了所属聚合根
在系统初始设计时,可以通过 A、B 都是聚合根的方式,来规避此问题。
但功能是不断演变的,假如一开始为了高内聚把 B 作为 A 的实体,产品提出交换 B 的需求,产品会认为很简单,一个 update 就可以了,但在 DDD 场景下就很复杂。
The text was updated successfully, but these errors were encountered: