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

Add Generated annotation to result XEntityGraph classes #193

Open
SimonHarmonicMinor opened this issue Jun 18, 2024 · 1 comment
Open

Add Generated annotation to result XEntityGraph classes #193

SimonHarmonicMinor opened this issue Jun 18, 2024 · 1 comment

Comments

@SimonHarmonicMinor
Copy link

If I add spring-data-jpa-entity-graph-generator dependency, then the result XEntityGraph classes has no jakarta.annotation.Generated annotation upon them (in comparison to jpamodelgen).

As a result, the errorprone plugin finds some errors within those classes.

Is it possible to add jakarta.annotation.Generated annotation to generated classes? It would even better, if one could tune this behaviour and declare custom annotations.

@reda-alaoui
Copy link
Member

Yes. Would you like to contribute with a pull request?

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