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
领域层不应该直接依赖基础层,应该在domain定义eventPublisher的接口,基础层实现,两者依赖共同的抽象。 另外建议项目创建为多module的格式,强制规定好依赖关系。
The text was updated successfully, but these errors were encountered:
因为作者把,repository的实现放在了领域层,只是是domain下建立了一个persistence的包,按书上来讲这是不对的,实现类应该在基础设施层,repository接口在domain层才对
Sorry, something went wrong.
No branches or pull requests
领域层不应该直接依赖基础层,应该在domain定义eventPublisher的接口,基础层实现,两者依赖共同的抽象。
另外建议项目创建为多module的格式,强制规定好依赖关系。
The text was updated successfully, but these errors were encountered: