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
In versions 6.x when you create a schema like this:
type Query { request: Response } type Foobar { foo(first: Int): String } type Response { bar: Foobar }
Field foo(Integer first) returns FieldObjectProjection instead of FieldObjectProjection<PARENT, ROOT>.
foo(Integer first)
FieldObjectProjection
FieldObjectProjection<PARENT, ROOT>
public class FoobarProjection<PARENT extends BaseSubProjectionNode<?, ?>, ROOT extends BaseSubProjectionNode<?, ?>> extends BaseSubProjectionNode<PARENT, ROOT> { public FoobarProjection(PARENT parent, ROOT root) { super(parent, root, java.util.Optional.of("Foobar")); } public FoobarProjection<PARENT, ROOT> foo() { getFields().put("foo", null); return this; } public FoobarProjection foo(Integer first) { getFields().put("foo", null); getInputArguments().computeIfAbsent("foo", k -> new ArrayList<>()); InputArgument firstArg = new InputArgument("first", first); getInputArguments().get("foo").add(firstArg); return this; } }
The text was updated successfully, but these errors were encountered:
Thanks for reporting, we will look into a fix for this issue.
Sorry, something went wrong.
No branches or pull requests
In versions 6.x when you create a schema like this:
Field
foo(Integer first)
returnsFieldObjectProjection
instead ofFieldObjectProjection<PARENT, ROOT>
.The text was updated successfully, but these errors were encountered: