You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've discussed this issue and we're siding with the GraphQL Java team here: there's nothing in the spec for this right now. Also, even if we meant to support it anyway, we would only do so on the client side as we can't implement it on the server side.
I'm closing this issue for now, to be re-evaluated if the GraphQL Java issue is reconsidered.
A lot of graphql server implementations have support for batch requests.
A batch request is a request with an array of graphql spec objects as body, it would look something like this;
And the response would be;
Queries would be executed sequentially, so if the first is a mutation, the second will work with the updated data of the first.
Batching is described in full in this article on the apollo website: https://www.apollographql.com/blog/apollo-client/performance/batching-client-graphql-queries/
I could work on this if this is something you would like to see in the library.
The text was updated successfully, but these errors were encountered: