Skip to content
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

Support use case of gql() vs gql #66

Merged
merged 3 commits into from
May 11, 2017

Conversation

matthewerwin
Copy link
Contributor

Current implementation throws an exception that the query isn't valid without providing information that the document was reduced to a single character by the implementation. Either the software should elegantly handle the case when parenthesis are added to the function call or else return a useful error on usage.

@apollo-cla
Copy link

@matthewerwin: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

@jnwng
Copy link
Contributor

jnwng commented Mar 28, 2017

@matthewerwin thanks for the PR! do you mind adding a test for this so we don't regress in the future? (also, you may need to rebase to reflect the changes that came with #60)

@matthewerwin
Copy link
Contributor Author

@jnwng thanks for the comments. Will do -- sorry for the delay...crazy week over here!

@jnwng jnwng self-assigned this May 11, 2017
matthewerwin and others added 2 commits May 10, 2017 18:55
Current implementation throws an exception that the query isn't valid without providing information that the document was reduced to a single character by the implementation. Either the software should elegantly handle the case when parenthesis are added to the function  call or else return a useful error on usage.
@jnwng jnwng force-pushed the support-gql-parens branch from baba34a to 950a8c9 Compare May 11, 2017 01:56
@jnwng jnwng merged commit 75d4a55 into apollographql:master May 11, 2017
@jnwng
Copy link
Contributor

jnwng commented May 11, 2017

thank you @matthewerwin!

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.

3 participants