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

Change GraphQLRequest to always contain a parsed document #221

Merged
merged 3 commits into from
Apr 5, 2019

Conversation

kitten
Copy link
Member

@kitten kitten commented Apr 5, 2019

We always parse the document now when we receive a string.
This ensures a consistent request data structure and makes
things easier, since there's not much else to expect.

Also addresses a bug where parse is undefined.

Fix #206
Fix #219 (Related)

We always parse the document now when we receive a string.
This ensures a consistent request data structure and makes
things easier, since there's not much else to expect.

Also addresses a bug where `parse` is undefined.

Fix #206
It needs to be exported so it ends up in the compiled typings
in dist/types and it was not being used in Mutation and Subscription.
@kitten kitten merged commit 4eada3b into master Apr 5, 2019
@kitten kitten deleted the fix/always-parse-doc branch April 5, 2019 15:14
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.

2 participants