This repository has been archived by the owner on Sep 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Stitching causes errors when using graphql@0.12.x #50
Labels
Comments
ardatan/graphql-tools#537 (comment) The issue is actually in |
Ah, okay. So this should work itself out once the fix goes into Thanks for putting that test case together! |
I believe so, though it looks like there may be a bit of a new api coming down the pipe. It looks like this is published on npm as |
Will be fixed soon. ardatan/graphql-tools#547 |
Thanks so much @freiksenet! @jlengstorf it looks like |
jlengstorf
added a commit
that referenced
this issue
Dec 20, 2017
jlengstorf
added a commit
that referenced
this issue
Dec 20, 2017
* chore: upgrade graphql and graphql-tools close #50 * fix: pin graphql-tools to compatible version 2.14.1 is required for operation with graphql@0.12.x
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I noticed an issue with
graphql-tools
when we tried to upgrade tographql@0.12.x
: ardatan/graphql-tools#537The issues are caused in our tests, and after a little digging I figured out it's happening in our
stitching
handler.Here's one of the two offending tests:
Run as-is, we get the following error:
But if I remove the
stitching
prop and run the test like this:It passes as expected.
Nothing looks out-of-place in https://github.com/gramps-graphql/gramps/blob/master/src/lib/combineStitchingResolvers.js
I don't see anything at first glance that looks obviously weird in the execution, either:
https://github.com/gramps-graphql/gramps/blob/master/src/gramps.js#L129-L138
We need to dig into this a little deeper and figure out what's going wrong.
The text was updated successfully, but these errors were encountered: