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
hello @deweyjose and thanks for the awesome maven plugin!
We recently noticed a problem with Java class generation when our schema has something like
input SomeKindOfInput { nestedInput: NestedInput = {enumField : ENUM_VALUE1} } input NestedInput { enumField: SomeKindOfEnum! }
where we attempt to give a field a default value of an object that has some field value. The generated class is not a valid java class
public class SomeKindOfInput { private NestedInput nestedInput = ObjectValue{objectFields=[ObjectField{name='enumField', value=EnumValue{name='ENUM_VALUE1'}}]}; }
The text was updated successfully, but these errors were encountered:
Hi @a-sayyed - sorry for the delay.
I think this is a bug in the core DGS codegen library. I've created an issue in their repo.
Sorry, something went wrong.
Closing this for now. Lets revisit if DGS fixes.
No branches or pull requests
hello @deweyjose and thanks for the awesome maven plugin!
We recently noticed a problem with Java class generation when our schema has something like
where we attempt to give a field a default value of an object that has some field value.
The generated class is not a valid java class
The text was updated successfully, but these errors were encountered: