graphql-python / graphql-server

This is the core package for using GraphQL in a custom server easily
MIT License
120 stars 72 forks source link

Fix execution with return_promise=True #6

Closed ksonj closed 4 years ago

ksonj commented 6 years ago

This basically does the same as https://github.com/graphql-python/graphql-core/blob/master/graphql/graphql.py, to ensure that results are properly wrapped in Promises

janhancic commented 6 years ago

What needs to happen for this to get merged and released?

Cito commented 4 years ago

Thank you for sending the issue and PR. I've fixed it in a similar way and added a test in ad392b5406d90ae59080fc10799f8ab204c898c5. Will be released with 1.2.0.