Closed rahulsom closed 4 months ago
Hi @rahulsom! What version of codegen are you on? And can you please share an exact schema that is complete, as I am unable to reproduce the issue on my end?
./gradlew buildEnvironment
reports my version as being the latest.
com.netflix.graphql.dgs.codegen:graphql-dgs-codegen-gradle:latest.release -> 6.1.5
The schema I'm using is https://docs.github.com/public/ghes-3.11/schema.docs-enterprise.graphql
Thanks @rahulsom! I created this test: https://github.com/Netflix/dgs-codegen/compare/master...issue-659-package-keyword-test and it is passing. Since your schema is highly nested, would you mind trying to repro the issue in that test?
I'm not able to reproduce the failure in the test. I went back to my repo and tried again, and now I'm not able to reproduce it there either. Thanks for looking at this. And sorry for the false issue.
This is similar to https://github.com/Netflix/dgs-codegen/issues/216
I've got a field called
package
in my schema.It causes the plugin to trip up
This is my build.gradle