GraphQL Mesh composes GraphQL and non-GraphQL APIs into federated graphs. It converts remote specs to GraphQL, applies transforms, and can run in-process or behind a gateway.
Overview
GraphQL Mesh is a GraphQL federation framework for unifying many backend APIs behind one graph. It targets GraphQL subgraphs, REST and OpenAPI services, gRPC, SOAP, OData, Thrift, databases such as MongoDB and PostgreSQL, and other sources so clients can query them with GraphQL.
The workflow collects API specifications from sources, builds typed SDKs, converts specs into GraphQL schema, applies transformations and extensions, and emits federation subgraphs or supergraphs. Developers can add custom types and resolvers, link types across sources, and reshape schemas with naming, filtering, and merging tools.
Mesh can act as a local in-process GraphQL layer inside an application or be deployed as a gateway in front of internal services. Current architecture splits composition (Mesh Compose) from serving (often Hive Gateway), while older documentation still describes a combined runtime.
It integrates with the broader Hive stack and supports deployment targets named in project materials such as Node.js, Docker, Bun, and serverless workers. Plugins extend caching, monitoring, security, and related gateway behavior.
Key features
- Compose REST and OpenAPI as GraphQL
- gRPC, SOAP, and database sources
- Federation subgraph and supergraph output
- Schema transforms and custom resolvers
- In-process or gateway deployment
- Type merging across sources
- Envelop-compatible plugins
- Wide source handler ecosystem
Use cases
- Unified API gateway over legacy services
- Federating non-GraphQL backends
- GraphQL access to REST and gRPC
- Multi-database GraphQL composition
- In-app GraphQL aggregation without proxy
Does the same job as
GraphQL Mesh doesn't name these products itself, but its own description shows it does the same job.