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

Classes annotated X should reside in package Y #69

Closed
piotrooo opened this issue Jul 10, 2024 · 1 comment · Fixed by #73
Closed

Classes annotated X should reside in package Y #69

piotrooo opened this issue Jul 10, 2024 · 1 comment · Fixed by #73
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@piotrooo
Copy link

I think we now have all the missing pieces to introduce a new rule that checks whether certain classes are located in specific package.

Motivation:
Let's imagine someone have an entity annotated with @Entity called, for example, User. They need to ensure that the class is located in the com.example.*db.model package.

What do you think?

@mnhock mnhock self-assigned this Jul 10, 2024
@mnhock mnhock added the enhancement New feature or request label Jul 10, 2024
@mnhock mnhock added this to the 0.14.0 milestone Jul 10, 2024
@mnhock
Copy link
Member

mnhock commented Jul 10, 2024

Will be part of the next release, thanks!

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

Successfully merging a pull request may close this issue.

2 participants