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

Sort constructors in DefaultProjectionSerializer by number of parameters #572

Merged
merged 4 commits into from
Aug 29, 2024

Conversation

rimuln
Copy link
Contributor

@rimuln rimuln commented Aug 29, 2024

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.

rimuln and others added 3 commits January 31, 2024 14:11
…method (OpenFeign#272)

sort constructors based on constructor toString method

Co-authored-by: Lumír Návrat <[email protected]>
(cherry picked from commit 487005f)
# Conflicts:
#	querydsl-tooling/querydsl-codegen/src/main/java/com/querydsl/codegen/GenericExporter.java
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • pom.xml
    • lines 147-147
    • lines 500-503
  • querydsl-examples/pom.xml
    • lines 32-31
  • querydsl-examples/querydsl-example-jpa-guice/pom.xml
    • lines 16-15
  • querydsl-examples/querydsl-example-jpa-quarkus/pom.xml
    • lines 15-14
  • querydsl-examples/querydsl-example-jpa-spring/pom.xml
    • lines 12-11
  • querydsl-examples/querydsl-example-kotlin-codegen/pom.xml
    • lines 11-10
  • querydsl-examples/querydsl-example-kotlin-jpa/pom.xml
    • lines 11-10
  • querydsl-examples/querydsl-example-kotlin-mongodb/pom.xml
    • lines 11-10
  • querydsl-examples/querydsl-example-r2dbc-sql-codegen/pom.xml
    • lines 13-12
  • querydsl-examples/querydsl-example-sql-guice/pom.xml
    • lines 16-15
  • querydsl-examples/querydsl-example-sql-spring/pom.xml
    • lines 13-12
  • querydsl-libraries/pom.xml
    • lines 40-39
  • querydsl-libraries/querydsl-collections/pom.xml
    • lines 15-14
  • querydsl-libraries/querydsl-core/pom.xml
    • lines 14-13
  • querydsl-libraries/querydsl-guava/pom.xml
    • lines 13-12
  • querydsl-libraries/querydsl-jpa-spring/pom.xml
    • lines 16-15
  • querydsl-libraries/querydsl-jpa/pom.xml
    • lines 16-15
    • lines 161-160
  • querydsl-libraries/querydsl-kotlin/pom.xml
    • lines 12-11
  • querydsl-libraries/querydsl-mongodb/pom.xml
    • lines 16-15
  • querydsl-libraries/querydsl-r2dbc/pom.xml
    • lines 17-16
  • querydsl-libraries/querydsl-scala/pom.xml
    • lines 17-16
  • querydsl-libraries/querydsl-spatial/pom.xml
    • lines 14-13
  • querydsl-libraries/querydsl-sql-json/pom.xml
    • lines 14-13
  • querydsl-libraries/querydsl-sql-spatial/pom.xml
    • lines 14-13
  • querydsl-libraries/querydsl-sql-spring/pom.xml
    • lines 16-15
  • querydsl-libraries/querydsl-sql/pom.xml
    • lines 17-16
  • querydsl-tooling/pom.xml
    • lines 24-23
  • querydsl-tooling/querydsl-apt/pom.xml
    • lines 14-13
  • querydsl-tooling/querydsl-codegen-utils/pom.xml
    • lines 19-18
  • querydsl-tooling/querydsl-codegen/pom.xml
    • lines 14-13
  • querydsl-tooling/querydsl-codegen/src/main/java/com/querydsl/codegen/DefaultProjectionSerializer.java
    • lines 35-36
  • querydsl-tooling/querydsl-jpa-codegen/pom.xml
    • lines 14-13
  • querydsl-tooling/querydsl-kotlin-codegen/pom.xml
    • lines 14-13
  • querydsl-tooling/querydsl-maven-plugin/pom.xml
    • lines 18-17
  • querydsl-tooling/querydsl-sql-codegen/pom.xml
    • lines 17-16

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some suggestions could not be made:

  • pom.xml
    • lines 147-147
    • lines 500-503
  • querydsl-examples/pom.xml
    • lines 32-31
  • querydsl-examples/querydsl-example-jpa-guice/pom.xml
    • lines 16-15
  • querydsl-examples/querydsl-example-jpa-quarkus/pom.xml
    • lines 15-14
  • querydsl-examples/querydsl-example-jpa-spring/pom.xml
    • lines 12-11
  • querydsl-examples/querydsl-example-kotlin-codegen/pom.xml
    • lines 11-10
  • querydsl-examples/querydsl-example-kotlin-jpa/pom.xml
    • lines 11-10
  • querydsl-examples/querydsl-example-kotlin-mongodb/pom.xml
    • lines 11-10
  • querydsl-examples/querydsl-example-r2dbc-sql-codegen/pom.xml
    • lines 13-12
  • querydsl-examples/querydsl-example-sql-guice/pom.xml
    • lines 16-15
  • querydsl-examples/querydsl-example-sql-spring/pom.xml
    • lines 13-12
  • querydsl-libraries/pom.xml
    • lines 40-39
  • querydsl-libraries/querydsl-collections/pom.xml
    • lines 15-14
  • querydsl-libraries/querydsl-core/pom.xml
    • lines 14-13
  • querydsl-libraries/querydsl-guava/pom.xml
    • lines 13-12
  • querydsl-libraries/querydsl-jpa-spring/pom.xml
    • lines 16-15
  • querydsl-libraries/querydsl-jpa/pom.xml
    • lines 16-15
    • lines 161-160
  • querydsl-libraries/querydsl-kotlin/pom.xml
    • lines 12-11
  • querydsl-libraries/querydsl-mongodb/pom.xml
    • lines 16-15
  • querydsl-libraries/querydsl-r2dbc/pom.xml
    • lines 17-16
  • querydsl-libraries/querydsl-scala/pom.xml
    • lines 17-16
  • querydsl-libraries/querydsl-spatial/pom.xml
    • lines 14-13
  • querydsl-libraries/querydsl-sql-json/pom.xml
    • lines 14-13
  • querydsl-libraries/querydsl-sql-spatial/pom.xml
    • lines 14-13
  • querydsl-libraries/querydsl-sql-spring/pom.xml
    • lines 16-15
  • querydsl-libraries/querydsl-sql/pom.xml
    • lines 17-16
  • querydsl-tooling/pom.xml
    • lines 24-23
  • querydsl-tooling/querydsl-apt/pom.xml
    • lines 14-13
  • querydsl-tooling/querydsl-codegen-utils/pom.xml
    • lines 19-18
  • querydsl-tooling/querydsl-codegen/pom.xml
    • lines 14-13
  • querydsl-tooling/querydsl-jpa-codegen/pom.xml
    • lines 14-13
  • querydsl-tooling/querydsl-kotlin-codegen/pom.xml
    • lines 14-13
  • querydsl-tooling/querydsl-maven-plugin/pom.xml
    • lines 18-17
  • querydsl-tooling/querydsl-sql-codegen/pom.xml
    • lines 17-16

@velo velo merged commit f32e7ee into OpenFeign:master Aug 29, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants