Skip to content

Attempt to fix the context test #344

New issue

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

Closed
wants to merge 1 commit into from
Closed

Conversation

zhaojunz
Copy link
Contributor

@zhaojunz zhaojunz commented Apr 3, 2016

It looks like the context test is testing the rootValue field if I interpret the test correctly. The fix is simply to pass and access the context field instead of the rootValue field. I might be wrongly interpreting the test since I am new to GraphQL.

It looks like the context test is testing the rootValue field if I interpret the test correctly. The fix is simply to pass and access the context field instead of the rootValue field.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.443% when pulling 1d1d4ab on zhaojunz:patch-1 into 3974438 on graphql:master.

@facebook-github-bot
Copy link

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!

@leebyron
Copy link
Contributor

leebyron commented Apr 5, 2016

This test is perhaps poorly named, but is correct and testing the behavior of a root value.

@leebyron leebyron closed this Apr 5, 2016
leebyron added a commit that referenced this pull request Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants