-
-
Notifications
You must be signed in to change notification settings - Fork 543
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
support batched queries #1383
Comments
@patrick91 should this be added to the roadmap? Graphene has this feature and it is simple to implement IMO. |
+1 looking at integrating with a large react + Apollo app that is using batching, and they're a year in and can't change that now. |
@Speedy1991 @cheradenine do you still need support for batching? I was looking into updating my old PR? There's also potential security implication to consider, since allowing for batches might make it easier to DDOS a server |
actually yes Would be an awesome feature :) |
+1 it would be great |
I think this is a possible issue in GQL in general. There are complexity calculations that can be preformed and reject a request when it becomes abusive. For batch, you could calculate and sum the scores |
If enabling batching is an optional setting and there is a warning in the docs, I guess might still be an option. :) My use case: Now on startup a get a bunch of request-response-cycles all triggered at the same time. 😅 Might be seen as a nice to have. I understand there are many important tickets at the moment. I'm still amazed at how much progress strawberry is making. Keep up the great work! (And thanks!) 🥳 🍓 |
It would be awesome if strawberry would support batched queries
I already spend some time into this and this is my very first working example
The error handling is garbage but I hope you get the idea:
Upvote & Fund
The text was updated successfully, but these errors were encountered: