-
Notifications
You must be signed in to change notification settings - Fork 178
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
Breaking change in 0.1.17? #19
Comments
@tmeasday perhaps we should have a check for the data being a string so that interpolation keeps working? @ClementParis016 the right way to do this is via variables. Using string interpolation for dynamic inputs is not good because you could end up with escaping issues. |
Oh, ughh, this is a bad bug. We should have a test for this. Even if we don't encourage it, people defintitely do it. |
Agreed. |
@ClementParis016 for the record: I think you were interpolating In any case, this is fixed in 1.1.2 |
Thanks for your help. I sort of felt that using interpolation wasn't great because I had to wrap strings in quotes to get it to work. |
I was using graphql-tag 0.1.16 along apollo-client 0.5.0, then updated to 0.1.17 and 0.5.6 respectively, which introduced the following
TypeError: Cannot read property 'kind' of undefined
raised from graphql-tag on GraphQL mutations.This is what my mutation looks like:
Though I'm really new to GraphQL so I'm afraid I can't get what
kind
could refer to :/The text was updated successfully, but these errors were encountered: