graphql-combine-query
JSON →A utility to combine multiple GraphQL query or mutation documents into a single document, with support for variable merging and aliasing. Current stable version is 1.2.4, released on npm. It targets Hasura-like servers that benefit from batched mutations in a single transaction, and it works with GraphQL.js v15 or v16. Unlike simple string concatenation, it properly merges arguments, variables, and top-level selections. It also supports adding multiple instances of the same query/mutation with index aliasing via addN. Ships TypeScript type definitions.
Resources
packagegraphql-combine-query ↗
API endpoints
full doc /v1/registry/graphql-combine-query