-
Notifications
You must be signed in to change notification settings - Fork 765
Is it possible to use AsyncExecutor? #616
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
Comments
If I understand this question correctly, you are trying to implement asynchronous code within the default Django resolver. This is not supported within Django itself as far as I know. What we did to resolve asynchronous execution of graphql resolvers / subscriptions is to use the django-channels package in combination with apollo-client. More info can be found here graphql-python/graphene#430, and this gist https://gist.github.com/tricoder42/af3d0337c1b33d82c1b32d12bd0265ec |
@jbovenschen thanks! Do you have working example with AsyncExecutor? |
@artinnok like @jbovenschen said in the link to the issue i have this example |
Closing this down since it looks like it reached resolution. Thanks @jbovenschen for your help here. |
Why is this closed? There is still no way to use async executor nor resolvers. At least not with provided GraphQLView. |
Hello!
How can I use AsyncExecutor with graphene-django?
I try this setup:
But this didn't work.
What is wrong?
The text was updated successfully, but these errors were encountered: