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
举例:创建一个活动配置,那么创建活动配置(save)这个行为,可以定位在活动对应的entity吗,如果这个活动entity有save这个行为,那是不是要在entity中调用gateway? 我有这个疑问,是因为看到官方demo,把类似于save的行为放进了application这层,在application去调用gateway提供的save,而不是在活动实体内部提供这个save的行为并且由实体本身去调用gateway。 这个问题要怎么看待呢?
The text was updated successfully, but these errors were encountered:
可以参考下充血模型与富血模型的区别
Sorry, something went wrong.
No branches or pull requests
举例:创建一个活动配置,那么创建活动配置(save)这个行为,可以定位在活动对应的entity吗,如果这个活动entity有save这个行为,那是不是要在entity中调用gateway?
我有这个疑问,是因为看到官方demo,把类似于save的行为放进了application这层,在application去调用gateway提供的save,而不是在活动实体内部提供这个save的行为并且由实体本身去调用gateway。
这个问题要怎么看待呢?
The text was updated successfully, but these errors were encountered: