Description
Intended outcome:
I was running a query, expecting it to get the data via props.
Actual outcome:
The data never came, instead i got an error as you can see in the screenshot:
File: node_modules/graphql-anywhere/lib/graphql.js
Line: 123
File: node_modules/graphql-anywhere/lib/graphql.js
Line: 123
How to reproduce the issue:
Run a query with an non-required field and with null
as value, at least that's the apparent reason
As you might see, is allowed to be null
:
The same query was working before (because we had an production version that's still working), but i wasn't able to track which version made this break, please, let me know if we need more info or something else
Version
- apollo-client@2.3.0
- graphql@0.13.2
- graphql-anywhere@4.1.9
- graphql-tag@2.9.2
- react-apollo@2.1.3
- apollo-cache-inmemory@1.2.0
- apollo-fetch@0.7.0
- apollo-link@1.2.2
- apollo-link-http@1.5.4
EDIT:
After doing a lot of checking, graphql-anywhere
was the dependency that's breaking my code, if i use an npm-shrinkwrap.json
to pin the version to 4.1.8 everything works correctly again (had to do this because apollo-cache-inmemory
will install 4.1.9 instead). So this issue came from the release 4.1.9 as far as i can see
Activity