Skip to content
This repository was archived by the owner on Aug 13, 2020. It is now read-only.

Support non-promise return values from execute #13

Merged
merged 1 commit into from
Apr 11, 2018

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented Apr 10, 2018

graphql@^0.12 introduced a breaking change (graphql/graphql-js#1115)
which means execute is no longer guaranteed to return a Promise. The
recommended usage is to always Promise.resolve() the result of execute().

graphql@^0.12 introduced a breaking change (#1115) which means
`execute` is no longer guaranteed to return a Promise. The recommended
usage is to always `Promise.resolve()` the result of `execute()`.
@af af merged commit b62788f into af:master Apr 11, 2018
@af
Copy link
Owner

af commented Apr 11, 2018

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants