Skip to content

Pass GraphQLResolveInfo object to resolve functions in defaultFieldResolver#615

Merged
leebyron merged 1 commit intographql:masterfrom
jonbretman:default-field-resolver-pass-info
Dec 10, 2016
Merged

Pass GraphQLResolveInfo object to resolve functions in defaultFieldResolver#615
leebyron merged 1 commit intographql:masterfrom
jonbretman:default-field-resolver-pass-info

Conversation

@jonbretman
Copy link
Copy Markdown
Contributor

When using buildSchema and then passing a root object to graphql you don't get access to the GraphQLResolveInfo object which seems to be the only way to perform introspection on the query.

@facebook-github-bot
Copy link
Copy Markdown

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact [email protected] if you have any questions.

@facebook-github-bot
Copy link
Copy Markdown

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@leebyron leebyron merged commit 4a83256 into graphql:master Dec 10, 2016
@leebyron
Copy link
Copy Markdown
Contributor

Sweet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants