Cosium / spring-data-jpa-entity-graph

Spring Data JPA extension allowing full dynamic usage of EntityGraph on repositories
MIT License
461 stars 51 forks source link

Add Generated annotation to result XEntityGraph classes #193

Open SimonHarmonicMinor opened 1 week ago

SimonHarmonicMinor commented 1 week ago

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 commented 1 week ago

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