-
Notifications
You must be signed in to change notification settings - Fork 766
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
Add async view #1256
Add async view #1256
Conversation
Is it possible to mix sync and async resolvers this way? |
You should be able to using |
I meant if one has 100 sync resolvers already and only wants to add a few async ones, how should one proceed? Even if front-end guarantees to not mix sync and async queries. |
@Suor mixing Sync and async resolvers is handled directly by |
What are the next steps on this one? It would be very helpful to have async views with graphene django 🙏🏼 |
Hey, sorry I have not been using this project since a few months, I am not sure when I will be able to catch up, I hope before the end of 2022 but I am buried under a lot of client work at the moment 😓 |
Closed in favor of #1394 |
Async view for django >= 3.1
Description
This is still a work in progress, but based on repl from @jkimbo (https://replit.com/@jkimbo/Graphene-async#main/schema.pyhttps://replit.com/@jkimbo/Graphene-async#main/schema.py) I got an async view working for graphene.
I think this should be part of graphene django.
You can use it like this for now
🖖 any kind of help / review, even at this stage is much appreciated as I am not really experienced with graphene internals, and there might be some area for improvement here.
Thanks !
TODO