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

What is the entity, is it swollen in the domain? #60

Open
helios741 opened this issue May 8, 2021 · 2 comments
Open

What is the entity, is it swollen in the domain? #60

helios741 opened this issue May 8, 2021 · 2 comments

Comments

@helios741
Copy link

image
Do the innermost entities in the neat architecture correspond to Auther and Article in the domain? Feel they are more like parameters.

@aitsuki
Copy link

aitsuki commented Oct 19, 2021

I think the circles is not represent layers. This picture only use to explain the dependencies rules. The innermost circle means that it can be accessed by all members within the system.
So you can move entites to other package, for example to a "data" package, in the same place as the Repository.
You can refer to this 👇 project, although it is an Android project, but there is a reference value.
architecture-samples-usecases

@bxcodec
Copy link
Owner

bxcodec commented Aug 4, 2022

agree on @aitsuki

The entity on the diagram, I move it to the domain package. So all other layers can import it easily without a cyclic import problem

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

3 participants