-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Version 5.7.0 seems to break customAnnotationsMapping for fields in input types #1055
Comments
5.7.1 was released. |
By the way, should those annotations land on the field or on the getter? If a Jackson annotation lands on the field, I think it ends up writing json with two keys (one for the getter, another for the field). |
Thank you -- that was quick! |
In my projects we use just field-level annotation and it is sufficient. We don't add Jackson annotation to getters. |
Issue Description
Version 5.7.0 is omitting the annotations configured in customAnnotationsMapping for fields in input types.
Steps to Reproduce
Repro at https://github.com/dsilva/repro-graphql-java-codegen-missing-annotations
./gradlew graphqlCodegen
build/generated/ReproInput.java
Expected Result
The output up to version 5.6.0 was
Actual Result
The output with version 5.7.0 of the gradle plugin includes this:
Your Environment and Setup
The text was updated successfully, but these errors were encountered: