-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Improve and test compatibility with GraphQLJSON #217
Comments
I guess the actual question is: "Is there a way to add additional scalar types in apollo-client" ? 😛 |
Can you paste in the response from the graphql server in this case? That will let me write a test to reproduce the issue! |
This is what I get using
Or is there some other convenient way to see the reponse? |
That's perfect! Another way to see it is to look in your Chrome dev tools under the Network tab. |
Got the test going! 4babe24 |
Aaaand, it's fixed - that was easy! Now just to wait for CI to pass and republish. #219 |
Published in NPM as |
@stubailo works like a charm! Thanks a bunch ❤️ 🌈 🚀 |
Hi! I'm trying to use
apollo-client
with GraphQLJSON.Using the below
mutation
I am able to send the correct data to GraphQL. The problem arise when I try to query for data that includessettings
(e.g. the response from this mutation). I getTypeError: Cannot read property 'selections' of null at writeSelectionSetToStore
. It works ifsettings
is null. It also works fine in the/graphql
query app.Any help would be greatly appreciated 😄 🌈
The text was updated successfully, but these errors were encountered: