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

graphqlSync doesn't support mutations #1195

Closed
dkuznetsov44 opened this issue Jan 9, 2018 · 0 comments
Closed

graphqlSync doesn't support mutations #1195

dkuznetsov44 opened this issue Jan 9, 2018 · 0 comments
Labels

Comments

@dkuznetsov44
Copy link

executeFields (for queries) returns MaybePromise
executeFieldsSerially (for mutations) returns Promise and this is not "sync"

https://github.com/graphql/graphql-js/blob/master/src/execution/execute.js#L399

Could you please rewrite executeFieldsSerially to return MaybePromise also?

Thanks! :)

leebyron added a commit that referenced this issue Jan 10, 2018
Refactors executeFieldsSerially to return MaybePromise

Fixes #1195
leebyron added a commit that referenced this issue Jan 10, 2018
Refactors executeFieldsSerially to return MaybePromise

Fixes #1195
leebyron added a commit that referenced this issue Jan 12, 2018
Refactors executeFieldsSerially to return MaybePromise

Fixes #1195
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants