Batch API for GraphQL

I just stumbled upon this comment from graphql spec issue:

What really peaked my interest was:

Q: what’s the point of having a document that can contains many operations

A: 3. It’s possible to write a “batch” API for GraphQL, where you use the results from one query as the parameters to another. We’re still working out the exact details there, but if you do that, it’s useful to specify multiple queries in a single document; you’d specify which one you wanted to run at the start and the relationships between them.

Are these the three GraphQL spec blockers from having upserts in GraphQL?


It would be awesome if we were close to having a spec for upserts in GraphQL so maybe we could have that DQL feature in GraphQL. Has anyone looked into this?