We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Please add support for object extension.
@GraphQLObjectType() abstract class B { @Field() b: string; } @GraphQLObjectType() abstract class A extends B { @Field() a: string; } @GraphQLResolver(() => TestResolver) class TestResolver { @Query(returnType => A, {description: ''}) test() { return { a: 'a-value', b: 'b-value' }; } }
Expected result:
{"data":{"test":{"a":"a-value","b":"b-value"}}}
Actual result:
{"errors":[{"message":"Cannot query field \"b\" on type \"A\". Did you mean \"a\"?","locations":[{"line":1,"column":9}]}]}
The text was updated successfully, but these errors were encountered:
It will be a part of #6 - I have to develop mechanism for looking up on other definitions for fields info. Closing in favour of that issue 😉
Sorry, something went wrong.
I am happy to contribute 😉
No branches or pull requests
Please add support for object extension.
Expected result:
Actual result:
The text was updated successfully, but these errors were encountered: