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

DDD中 领域服务以何种方式体现? #2

Closed
laybay opened this issue Jun 18, 2020 · 2 comments
Closed

DDD中 领域服务以何种方式体现? #2

laybay opened this issue Jun 18, 2020 · 2 comments

Comments

@laybay
Copy link

laybay commented Jun 18, 2020

1、是在domain中定义接口;
2、实体实现服务接口;

还是说直接引入实体对象呢?

@jukylin
Copy link
Owner

jukylin commented Jun 18, 2020

我们是把领域服务放在domain里,通常在里面建立service目录实现对应的逻辑。
参考https://github.com/jukylin/esim#v2-%E7%9B%AE%E5%BD%95

@laybay
Copy link
Author

laybay commented Jun 23, 2020

非常感谢

@laybay laybay closed this as completed Jun 23, 2020
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