We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the input with the empty object type
input
I expect the generated type should looks like the following
the actual generated looks like
Given the input with the object type with some default value
the generated file have some default value inside, but the type is not correct.
input Something { sth1: Int = 0 sth2: String = "" } input TitleFormat { uppercase: Boolean someInput: Something = {} }
OR
input Something { sth1: Int = 0 sth2: String = "" } input TitleFormat { uppercase: Boolean someInput: Something = { sth1: 1, sth2: "test" } }
./gradlew generateJava
./build/generated/com/example/demo/generated/types/TitleFormat.kt
The text was updated successfully, but these errors were encountered:
Thanks for reporting @gaplo917. This is actually an issue with the code generation plugin. Would you be able to move this issue to here: https://github.com/Netflix/dgs-codegen
Sorry, something went wrong.
Moved.
Thanks for your great work on DGS @srinivasankavitha
No branches or pull requests
Expected behavior
Given the
input
with the empty object typeI expect the generated type should looks like the following
Actual behavior
Given the
input
with the empty object typethe actual generated looks like
Given the
input
with the object type with some default valuethe generated file have some default value inside, but the type is not correct.
Steps to reproduce
OR
./gradlew generateJava
./build/generated/com/example/demo/generated/types/TitleFormat.kt
The text was updated successfully, but these errors were encountered: