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

Clean architecture project could be better structured on packages, to show clearly the layers #15971

Open
bpstelios10 opened this issue Feb 25, 2024 · 1 comment
Labels
on-jira triaged Issues reviewed by a dev and considered valid. Will be added in Jira.

Comments

@bpstelios10
Copy link
Contributor

Article and Module Links
Clean Architecture with Spring Boot

Describe the Issue
The article does a very good job to present classes by layers. This could be done on the project at package level too. This is for 3 reasons:

  • Some of the classes are not mentioned in the article, so people can reference the project as documentation.
  • It is not a good java practice to put all in one package
  • MOST IMPORTANT imo is that people can clearly see that entities package doesnt depend on anything, usecases package only has dependencies to entities package etc. This makes even more clear the rule 'a higher level must never depend on a lower one'

Expected Behavior
Similar

@bpstelios10
Copy link
Contributor Author

bpstelios10 commented Feb 25, 2024

I have the solution ready too, if i could get granted access (for creating feature branch and PR).

@apeterlic apeterlic added the triaged Issues reviewed by a dev and considered valid. Will be added in Jira. label Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-jira triaged Issues reviewed by a dev and considered valid. Will be added in Jira.
Projects
None yet
Development

No branches or pull requests

3 participants