Skip to content
New issue

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

interfaces里面内容是按domain还是功能来分? #14

Open
CodeMin opened this issue Jan 10, 2022 · 1 comment
Open

interfaces里面内容是按domain还是功能来分? #14

CodeMin opened this issue Jan 10, 2022 · 1 comment

Comments

@CodeMin
Copy link

CodeMin commented Jan 10, 2022

interfaces层里面的内容,示例代码中是按照功能来分的,比如controller都放在facade目录中,dto都放在dto目录中。这里为什么没有按照domain来分呢?比如:

interfaces
|----leave
| |----dto
| |----facade
|----user
| |----dto
| |----facade

@reedboat
Copy link

reedboat commented Feb 3, 2022

也许先按聚合分,再分接口/应用/领域/基架 更合适,就能更好的解决未来拆分的问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants