OpenFeign / querydsl

Unified Queries for Java
https://querydsl.com
Apache License 2.0
260 stars 39 forks source link

Sort constructors in DefaultProjectionSerializer by number of parameters #572

Closed rimuln closed 2 months ago

rimuln commented 2 months ago

Similar fix as I did for GenericExporter.

During generating our Q classes by APT I found that we have sometimes switched order of generated constructors.

This fix order constructors by number of parameters. So generated files have guaranteed order and during diff in git aren't detected as modified.