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

If only the data layer has entities,so domain need depends on data. This breaks the dependency rules right? #299

Open
annybudong opened this issue Apr 8, 2020 · 2 comments

Comments

@annybudong
Copy link

If only the data layer has entities,so domain need depends on data. This breaks the dependency rules right?

@drayan85
Copy link

drayan85 commented Apr 8, 2020

No, You have to use the mapper classes to convert the model classes to Entity and Entity to model class.
Please look at the UserEntityDataMapper.java

@annybudong
Copy link
Author

No, You have to use the mapper classes to convert the model classes to Entity and Entity to model class.
Please look at the UserEntityDataMapper.java

thanks so much

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