graphql-client
graphql-client copied to clipboard
Graphql Query Batching
Hi, Does this client lib support graphql query batching? If yes, would be appreciated if you guy can provide some sample on how to do this.
Thanks. Jeff
Hi, No, for now this library doesn't support batching.
It's a really good idea that I have interest in implement. But I think that we need to discuss how the batching system will work. So any idea, references, etc... will help
I am new to graphql too. I read the Batching technique from here: https://blog.apollographql.com/query-batching-in-apollo-63acfd859862
If you ask me how it should work, then I think the reference does show the concepts.
@TohWei Its pretty much my idea, add a delay between requests. The biggest problem is that i will need to understand the Query parameter in order to join and then split the true request/response
Related to graphql-dotnet/server#241
I must say that query batching, although it may be useful somewhere, is far from universally used.