apollo-federation-subgraph-compatibility
apollo-federation-subgraph-compatibility copied to clipboard
chore(deps): update dependency apollographql.hotchocolate.federation to v1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| ApolloGraphQL.HotChocolate.Federation | 0.2.0 -> 1.3.0 |
Release Notes
apollographql/federation-hotchocolate (ApolloGraphQL.HotChocolate.Federation)
v1.3.0
Minor Changes
- Enable Source link for debugging enhancements (#60) @damienpontifex
Patch Changes
- chore(deps): update all non-major dependencies (#41) @renovate
- chore(deps): update dependency microsoft.sourcelink.github to v8 (#57) @renovate
Other Changes
- Add Codeowners (#56) @svc-secops
v1.2.1
Patch Changes
- fix: new NonResolvableKey attribute (#54) @dariuszkuc
Other Changes
- add compatibility warning (#50) @dariuszkuc
v1.2.0
Minor Changes
- feat: expose IRequestExecutorBuilder extensions to apply schema directives (#47) @dariuszkuc
Patch Changes
- fix: use implicit binding for federated POCO (#39) @dariuszkuc
Other Changes
- chore(deps): update hotchocolate to v13.6.1 (#42 #43) @renovate
- chore(renovate): group HotChocolate updates together (#40) @dariuszkuc
v1.1.0
Minor Changes
Adds support for HotChocolate v13.6.0.
v1.0.0
Apollo Federation for HotChocolate
Apollo Federation is a powerful, open architecture that helps you create a unified supergraph that combines multiple GraphQL APIs. ApolloGraphQL.HotChocolate.Federation provides Apollo Federation support for building subgraphs in the HotChocolate ecosystem. Individual subgraphs can be run independently of each other but can also specify relationships to the other subgraphs by using Federated directives. See Apollo Federation documentation for details.
Generating Federated Schemas
ApolloGraphQL.HotChocolate.Federation package is published to Nuget. Update your .csproj file with following package references
<ItemGroup>
<!-- make sure to also include HotChocolate package -->
<PackageReference Include="HotChocolate.AspNetCore" Version="13.5.1" />
<!-- federation package -->
<PackageReference Include="ApolloGraphQL.HotChocolate.Federation" Version="$LatestVersion" />
</ItemGroup>
After installing the necessary packages, you need to register Apollo Federation with your GraphQL service. You need to opt-in to Federation v1 or v2 schema by invoking corresponding builder extension
var builder = WebApplication.CreateBuilder(args);
builder.Services
.AddGraphQLServer()
// .AddApolloFederation() // use this instead if you want to opt-in to fed v1
.AddApolloFederationV2()
// register your types and services
;
var app = builder.Build();
app.MapGraphQL();
app.Run();
Apollo Federation requires subgraphs to provide some additional metadata to make them supergraph aware. Entities are GraphQL objects that can be uniquely identified across the supergraph by the specified @keys. Since entities can be extended by various subgraphs, we need an extra entry point to access the entities, i.e. subgraphs need to implement reference resolvers for entities that they support.
All federated directives are provided as attributes that can be applied directly on classes/fields/methods. Alternatively, if you need more granular control, you can use code first approach and manually populate federation information on the underlying GraphQL type descriptor. All federated directives expose corresponding methods on the applicable descriptor. Example attribute usage
[Key("id")]
public class Product
{
public Product(string id, string name, string? description)
{
Id = id;
Name = name;
Description = description;
}
[ID]
public string Id { get; }
public string Name { get; }
public string? Description { get; }
// assumes ProductRepository with GetById method exists
// reference resolver method must be public static
[ReferenceResolver]
public static Product GetByIdAsync(
string id,
ProductRepository productRepository)
=> productRepository.GetById(id);
}
Federation v1 directives
Extendsapplicable on objects, see@extendsdocumentationExternalapplicable on fields, see@externaldocumentationKeyapplicable on objects, see@keydocumentationProvidesapplicable on fields, see@providesdocumentationRequiresapplicable on fields, see@requiresdocumentation
Federation v2 directives (includes all of the v1 directives)
ApolloTagapplicable on schema, see@tagdocumentationApolloAuthenticated(since v2.5) applicable on enum, field, interface and object,@authenticateddocumentationComposeDirective(since v2.1) applicable on schema, see@composeDirectivedocumentationContactapplicable on schema, see@contactusageInaccessibleapplicable on all type definitions, see@inaccessibledocumentationInterfaceObject(since v2.3) applicable on objects, see@interfaceObjectdocumentationKeyInterfaceapplicable on interfaces, see entity interface@keydocumentationLinkapplicable on schema, see@linkdocumentationRequiresScopes(since v2.5) applicable on enum, field, interface and object,@requiresScopesdocumentationShareableapplicable on schema, see@shareabledocumentation
Entity resolution
Mapapplicable on entity resolver method paramaters, allows you to map complex argument to a simpler representation value, e.g.[Map("foo.bar")] string barReferenceResolverapplicable on public static methods within an entity class to indicate entity resolver
v0.3.0
Minor Changes
- feat: support
@authenticatedand@requiresScopes(#33) @dariuszkuc - feat: new AddApolloFederationV2 that accepts target version (#32) @dariuszkuc
- feat: allow users specifying supported federation version (#23) @dariuszkuc
Other Changes
- chore(deps): update dependency coverlet.msbuild to v6 (#31) @renovate
- chore(deps): update dependency snapshooter.xunit to v0.13.0 (#29) @renovate
- chore(deps): update actions/checkout action to v4 (#12) @renovate
- chore(deps): update xunit-dotnet monorepo to v2.5.3 (#30) @renovate
- chore(deps): update dependency moq to v4.20.69 (#28) @renovate
- chore(deps): update dependency microsoft.net.test.sdk to v17.7.2 (#27) @renovate
- chore(deps): update dependency coverlet.msbuild to v3.2.0 (#26) @renovate
- chore: simplify project structure (#25) @dariuszkuc
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
⚠️ Docs preview not attached to branch
The preview was not built because the PR's base branch main is not in the list of sources.
An Apollo team member can comment one of the following commands to dictate which branch to attach the preview to:
Build ID: 8ae56708da58ddcac6528f9e
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
The following open-source GraphQL server libraries and other solutions support acting as a subgraph in a federated supergraph.
Table Legend
| Icon | Description |
|---|---|
![]() |
Maintained by Apollo |
| 🟢 | Functionality is supported |
| ❌ | Critical functionality is NOT supported |
| 🔲 | Additional federation functionality is NOT supported |
Ballerina
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ballerina GraphQL Module | ||||||||||||||||||||||||||||||||
| A spec-compliant, production-ready, Standard Library module for building and interacting with GraphQL APIs using Ballerina. Github: ballerina-platform/module-ballerina-graphql Type: Code first Stars: 141 ⭐ Last Release: 2025-03-07 |
|
|
||||||||||||||||||||||||||||||
C# / .NET
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL for .NET | ||||||||||||||||||||||||||||||||
| GraphQL for .NET Github: graphql-dotnet/graphql-dotnet Type: Code first | SDL first Stars: 5.9k ⭐ Last Release: 2025-02-25 |
|
|
||||||||||||||||||||||||||||||
| Hot Chocolate | ||||||||||||||||||||||||||||||||
| Open-source GraphQL server for the Microsoft .NET platform that takes the complexity away and lets you focus on delivering the next big thing. Github: ChilliCream/graphql-platform Type: Code first | SDL first Stars: 5.4k ⭐ Last Release: 2025-03-06 Federation Library: apollographql/federation-hotchocolate
|
|
|
||||||||||||||||||||||||||||||
Elixir
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Absinthe | ||||||||||||||||||||||||||||||||
| The GraphQL toolkit for Elixir Github: absinthe-graphql/absinthe Type: Code first Stars: 4.3k ⭐ Last Release: 2024-07-11 Federation Library: DivvyPayHQ/absinthe_federation |
|
|
||||||||||||||||||||||||||||||
Go
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gqlgen | ||||||||||||||||||||||||||||||||
| go generate based graphql server library Github: 99designs/gqlgen Type: SDL first Stars: 10.1k ⭐ Last Release: 2025-02-15 |
|
|
||||||||||||||||||||||||||||||
| GraphQL Go (fork) | ||||||||||||||||||||||||||||||||
| This is a fork of graphql-go/graphql that adds Federation support Github: dariuszkuc/graphql Type: Code first Stars: 2 ⭐ Last Release: 2022-11-11 |
|
|
||||||||||||||||||||||||||||||
Java / Kotlin
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dgs-framework | ||||||||||||||||||||||||||||||||
| GraphQL for Java with Spring Boot made easy. Github: netflix/dgs-framework Type: SDL first Stars: 3.1k ⭐ Last Release: 2025-02-26 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Java Kickstart (Spring Boot) | ||||||||||||||||||||||||||||||||
| GraphQL and GraphiQL Spring Framework Boot Starters - Forked from oembedler/graphql-spring-boot due to inactivity. Github: graphql-java-kickstart/graphql-spring-boot Type: SDL first Stars: 1.5k ⭐ Last Release: 2023-12-07 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Kotlin | ||||||||||||||||||||||||||||||||
| Libraries for running GraphQL in Kotlin Github: ExpediaGroup/graphql-kotlin Type: Code first Stars: 1.8k ⭐ Last Release: 2025-01-16 Core Library: GraphQL Java |
|
|
||||||||||||||||||||||||||||||
| SmallRye GraphQL | ||||||||||||||||||||||||||||||||
| Implementation for MicroProfile GraphQL Github: smallrye/smallrye-graphql Type: Code first Stars: 161 ⭐ Last Release: 2025-01-27 |
|
|
||||||||||||||||||||||||||||||
| Spring GraphQL | ||||||||||||||||||||||||||||||||
| Spring Integration for GraphQL Github: spring-projects/spring-graphql Type: SDL first Stars: 1.6k ⭐ Last Release: 2025-02-18 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
JavaScript / TypeScript
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apollo Server | ||||||||||||||||||||||||||||||||
| 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more. Github: apollographql/apollo-server ![]() Type: SDL first Stars: 13.9k ⭐ Last Release: 2025-01-03 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| express-graphql | ||||||||||||||||||||||||||||||||
| Create a GraphQL HTTP server with Express. Github: graphql/express-graphql Type: SDL first Stars: 6.3k ⭐ Last Release: 2020-11-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Yoga | ||||||||||||||||||||||||||||||||
| The fully-featured GraphQL server with focus on easy setup, performance and great developer experience. Github: dotansimha/graphql-yoga Type: SDL first Stars: 8.3k ⭐ Last Release: 2025-03-06 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Helix | ||||||||||||||||||||||||||||||||
| A highly evolved and framework-agnostic GraphQL HTTP server. Github: contra/graphql-helix Type: SDL first Stars: 831 ⭐ Last Release: 2022-07-09 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Mercurius | ||||||||||||||||||||||||||||||||
| Implement GraphQL servers and gateways with Fastify Github: mercurius-js/mercurius Type: SDL first Stars: 2.4k ⭐ Last Release: 2025-02-24 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (code first) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: Code first Stars: 1.5k ⭐ Last Release: 2025-01-17 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (SDL First) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: SDL first Stars: 1.5k ⭐ Last Release: 2025-01-17 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Pothos GraphQL | ||||||||||||||||||||||||||||||||
| Plugin based GraphQL schema builder that makes building graphql schemas with TypeScript easy, fast and enjoyable. Github: hayes/pothos Type: Code first Stars: 2.4k ⭐ Last Release: 2025-03-07 Core Library: GraphQL.js |
|
|
||||||||||||||||||||||||||||||
PHP
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lighthouse (Laravel) | ||||||||||||||||||||||||||||||||
| A framework for serving GraphQL from Laravel Github: nuwave/lighthouse Type: SDL first Stars: 3.4k ⭐ Last Release: 2025-02-17 Core Library: webonyx/graphql-php |
|
|
||||||||||||||||||||||||||||||
| GraphQL PHP | ||||||||||||||||||||||||||||||||
| PHP implementation of the GraphQL specification based on the reference implementation in JavaScript Github: webonyx/graphql-php Type: Code first Stars: 4.7k ⭐ Last Release: 2024-12-19 Federation Library: Skillshare/apollo-federation-php |
|
|
||||||||||||||||||||||||||||||
Python
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ariadne | ||||||||||||||||||||||||||||||||
| Python library for implementing GraphQL servers using schema-first approach. Github: mirumee/ariadne Type: SDL first Stars: 2.2k ⭐ Last Release: 2025-02-19 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
| Graphene | ||||||||||||||||||||||||||||||||
| GraphQL framework for Python Github: graphql-python/graphene Type: Code first Stars: 8.1k ⭐ Last Release: 2024-11-09 Core Library: GraphQL-core 3 Federation Library: graphql-python/graphene-federation |
|
|
||||||||||||||||||||||||||||||
| Strawberry | ||||||||||||||||||||||||||||||||
| A GraphQL library for Python that leverages type annotations 🍓 Github: strawberry-graphql/strawberry Type: Code first Stars: 4.2k ⭐ Last Release: 2025-03-06 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
Ruby
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL Ruby | ||||||||||||||||||||||||||||||||
| Ruby implementation of GraphQL Github: rmosolgo/graphql-ruby Type: Code first Stars: 5.4k ⭐ Last Release: 2021-02-12 Federation Library: Gusto/apollo-federation-ruby |
|
|
||||||||||||||||||||||||||||||
Rust
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| async-graphql | ||||||||||||||||||||||||||||||||
| A GraphQL server library implemented in Rust Github: async-graphql/async-graphql Type: Code first Stars: 3.4k ⭐ |
|
|
||||||||||||||||||||||||||||||
Scala
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Caliban | ||||||||||||||||||||||||||||||||
| Functional GraphQL library for Scala Github: ghostdogpr/caliban Type: Code first Stars: 951 ⭐ Last Release: 2025-02-22 |
|
|
||||||||||||||||||||||||||||||
| Sangria | ||||||||||||||||||||||||||||||||
| Scala GraphQL implementation Github: sangria-graphql/sangria Type: Code first Stars: 2.0k ⭐ Last Release: 2025-01-14 Federation Library: sangria-graphql/sangria-federated |
|
|
||||||||||||||||||||||||||||||
Swift
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Graphiti | ||||||||||||||||||||||||||||||||
| The Swift GraphQL Schema framework for macOS and Linux Github: GraphQLSwift/Graphiti Type: SDL first Stars: 537 ⭐ Last Release: 2024-12-14 |
|
|
||||||||||||||||||||||||||||||
Other Solutions
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | ||||||||||||||||||||||||||||||||
| Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast. |
|
|
||||||||||||||||||||||||||||||
| GraphQL Mesh | ||||||||||||||||||||||||||||||||
| Executable GraphQL schema from multiple data sources, query anything, run anywhere. Github: Urigo/graphql-mesh Stars: 3.4k ⭐ |
|
|
||||||||||||||||||||||||||||||
| Neo4J Graph Database | ||||||||||||||||||||||||||||||||
| A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations. Github: neo4j/graphql Type: Code first | SDL first Stars: 520 ⭐ Last Release: 2025-03-07 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| IBM API Connect for GraphQL | ||||||||||||||||||||||||||||||||
| Build GraphQL APIs for all your data in a declarative way. Federate across any data source, including GraphQL. |
|
|
||||||||||||||||||||||||||||||
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
The following open-source GraphQL server libraries and other solutions support acting as a subgraph in a federated supergraph.
Table Legend
| Icon | Description |
|---|---|
![]() |
Maintained by Apollo |
| 🟢 | Functionality is supported |
| ❌ | Critical functionality is NOT supported |
| 🔲 | Additional federation functionality is NOT supported |
Ballerina
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ballerina GraphQL Module | ||||||||||||||||||||||||||||||||
| A spec-compliant, production-ready, Standard Library module for building and interacting with GraphQL APIs using Ballerina. Github: ballerina-platform/module-ballerina-graphql Type: Code first Stars: 139 ⭐ Last Release: 2025-04-11 |
|
|
||||||||||||||||||||||||||||||
C# / .NET
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL for .NET | ||||||||||||||||||||||||||||||||
| GraphQL for .NET Github: graphql-dotnet/graphql-dotnet Type: Code first | SDL first Stars: 5.9k ⭐ Last Release: 2025-04-13 |
|
|
||||||||||||||||||||||||||||||
| Hot Chocolate | ||||||||||||||||||||||||||||||||
| Open-source GraphQL server for the Microsoft .NET platform that takes the complexity away and lets you focus on delivering the next big thing. Github: ChilliCream/graphql-platform Type: Code first | SDL first Stars: 5.5k ⭐ Last Release: 2025-08-05 Federation Library: apollographql/federation-hotchocolate
|
|
|
||||||||||||||||||||||||||||||
Elixir
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Absinthe | ||||||||||||||||||||||||||||||||
| The GraphQL toolkit for Elixir Github: absinthe-graphql/absinthe Type: Code first Stars: 4.3k ⭐ Last Release: 2025-06-09 Federation Library: DivvyPayHQ/absinthe_federation |
|
|
||||||||||||||||||||||||||||||
Go
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gqlgen | ||||||||||||||||||||||||||||||||
| go generate based graphql server library Github: 99designs/gqlgen Type: SDL first Stars: 10.4k ⭐ Last Release: 2025-07-27 |
|
|
||||||||||||||||||||||||||||||
| GraphQL Go (fork) | ||||||||||||||||||||||||||||||||
| This is a fork of graphql-go/graphql that adds Federation support Github: dariuszkuc/graphql Type: Code first Stars: 2 ⭐ Last Release: 2022-11-11 |
|
|
||||||||||||||||||||||||||||||
Java / Kotlin
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dgs-framework | ||||||||||||||||||||||||||||||||
| GraphQL for Java with Spring Boot made easy. Github: netflix/dgs-framework Type: SDL first Stars: 3.2k ⭐ Last Release: 2025-06-30 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Java Kickstart (Spring Boot) | ||||||||||||||||||||||||||||||||
| GraphQL and GraphiQL Spring Framework Boot Starters - Forked from oembedler/graphql-spring-boot due to inactivity. Github: graphql-java-kickstart/graphql-spring-boot Type: SDL first Stars: 1.5k ⭐ Last Release: 2023-12-07 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Kotlin | ||||||||||||||||||||||||||||||||
| Libraries for running GraphQL in Kotlin Github: ExpediaGroup/graphql-kotlin Type: Code first Stars: 1.8k ⭐ Last Release: 2025-06-16 Core Library: GraphQL Java |
|
|
||||||||||||||||||||||||||||||
| SmallRye GraphQL | ||||||||||||||||||||||||||||||||
| Implementation for MicroProfile GraphQL Github: smallrye/smallrye-graphql Type: Code first Stars: 167 ⭐ Last Release: 2025-06-03 |
|
|
||||||||||||||||||||||||||||||
| Spring GraphQL | ||||||||||||||||||||||||||||||||
| Spring Integration for GraphQL Github: spring-projects/spring-graphql Type: SDL first Stars: 1.6k ⭐ Last Release: 2025-07-22 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
JavaScript / TypeScript
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apollo Server | ||||||||||||||||||||||||||||||||
| 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more. Github: apollographql/apollo-server ![]() Type: SDL first Stars: 13.9k ⭐ Last Release: 2025-07-17 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| express-graphql | ||||||||||||||||||||||||||||||||
| Create a GraphQL HTTP server with Express. Github: graphql/express-graphql Type: SDL first Stars: 6.3k ⭐ Last Release: 2020-11-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Yoga | ||||||||||||||||||||||||||||||||
| The fully-featured GraphQL server with focus on easy setup, performance and great developer experience. Github: dotansimha/graphql-yoga Type: SDL first Stars: 8.4k ⭐ Last Release: 2025-07-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Helix | ||||||||||||||||||||||||||||||||
| A highly evolved and framework-agnostic GraphQL HTTP server. Github: contra/graphql-helix Type: SDL first Stars: 829 ⭐ Last Release: 2022-07-09 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Mercurius | ||||||||||||||||||||||||||||||||
| Implement GraphQL servers and gateways with Fastify Github: mercurius-js/mercurius Type: SDL first Stars: 2.4k ⭐ Last Release: 2025-06-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (code first) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: Code first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (SDL First) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: SDL first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Pothos GraphQL | ||||||||||||||||||||||||||||||||
| Plugin based GraphQL schema builder that makes building graphql schemas with TypeScript easy, fast and enjoyable. Github: hayes/pothos Type: Code first Stars: 2.5k ⭐ Last Release: 2025-07-31 Core Library: GraphQL.js |
|
|
||||||||||||||||||||||||||||||
PHP
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lighthouse (Laravel) | ||||||||||||||||||||||||||||||||
| A framework for serving GraphQL from Laravel Github: nuwave/lighthouse Type: SDL first Stars: 3.4k ⭐ Last Release: 2025-07-23 Core Library: webonyx/graphql-php |
|
|
||||||||||||||||||||||||||||||
| GraphQL PHP | ||||||||||||||||||||||||||||||||
| PHP implementation of the GraphQL specification based on the reference implementation in JavaScript Github: webonyx/graphql-php Type: Code first Stars: 4.7k ⭐ Last Release: 2025-07-28 Federation Library: Skillshare/apollo-federation-php |
|
|
||||||||||||||||||||||||||||||
Python
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ariadne | ||||||||||||||||||||||||||||||||
| Python library for implementing GraphQL servers using schema-first approach. Github: mirumee/ariadne Type: SDL first Stars: 2.3k ⭐ Last Release: 2025-04-18 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
| Graphene | ||||||||||||||||||||||||||||||||
| GraphQL framework for Python Github: graphql-python/graphene Type: Code first Stars: 8.2k ⭐ Last Release: 2024-11-09 Core Library: GraphQL-core 3 Federation Library: graphql-python/graphene-federation |
|
|
||||||||||||||||||||||||||||||
| Strawberry | ||||||||||||||||||||||||||||||||
| A GraphQL library for Python that leverages type annotations 🍓 Github: strawberry-graphql/strawberry Type: Code first Stars: 4.4k ⭐ Last Release: 2025-08-05 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
Ruby
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL Ruby | ||||||||||||||||||||||||||||||||
| Ruby implementation of GraphQL Github: rmosolgo/graphql-ruby Type: Code first Stars: 5.4k ⭐ Last Release: 2025-07-19 Federation Library: Gusto/apollo-federation-ruby |
|
|
||||||||||||||||||||||||||||||
Rust
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| async-graphql | ||||||||||||||||||||||||||||||||
| A GraphQL server library implemented in Rust Github: async-graphql/async-graphql Type: Code first Stars: 3.5k ⭐ |
|
|
||||||||||||||||||||||||||||||
Scala
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Caliban | ||||||||||||||||||||||||||||||||
| Functional GraphQL library for Scala Github: ghostdogpr/caliban Type: Code first Stars: 968 ⭐ Last Release: 2025-07-14 |
|
|
||||||||||||||||||||||||||||||
| Sangria | ||||||||||||||||||||||||||||||||
| Scala GraphQL implementation Github: sangria-graphql/sangria Type: Code first Stars: 2.0k ⭐ Last Release: 2025-06-11 Federation Library: sangria-graphql/sangria-federated |
|
|
||||||||||||||||||||||||||||||
Swift
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Graphiti | ||||||||||||||||||||||||||||||||
| The Swift GraphQL Schema framework for macOS and Linux Github: GraphQLSwift/Graphiti Type: SDL first Stars: 546 ⭐ Last Release: 2025-06-09 |
|
|
||||||||||||||||||||||||||||||
Other Solutions
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | ||||||||||||||||||||||||||||||||
| Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast. |
|
|
||||||||||||||||||||||||||||||
| GraphQL Mesh | ||||||||||||||||||||||||||||||||
| Executable GraphQL schema from multiple data sources, query anything, run anywhere. Github: Urigo/graphql-mesh Stars: 3.4k ⭐ |
|
|
||||||||||||||||||||||||||||||
| Neo4J Graph Database | ||||||||||||||||||||||||||||||||
| A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations. Github: neo4j/graphql Type: Code first | SDL first Stars: 537 ⭐ Last Release: 2025-08-04 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| IBM API Connect for GraphQL | ||||||||||||||||||||||||||||||||
| Build GraphQL APIs for all your data in a declarative way. Federate across any data source, including GraphQL. |
|
|
||||||||||||||||||||||||||||||
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
The following open-source GraphQL server libraries and other solutions support acting as a subgraph in a federated supergraph.
Table Legend
| Icon | Description |
|---|---|
![]() |
Maintained by Apollo |
| 🟢 | Functionality is supported |
| ❌ | Critical functionality is NOT supported |
| 🔲 | Additional federation functionality is NOT supported |
Ballerina
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ballerina GraphQL Module | ||||||||||||||||||||||||||||||||
| A spec-compliant, production-ready, Standard Library module for building and interacting with GraphQL APIs using Ballerina. Github: ballerina-platform/module-ballerina-graphql Type: Code first Stars: 139 ⭐ Last Release: 2025-04-11 |
|
|
||||||||||||||||||||||||||||||
C# / .NET
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL for .NET | ||||||||||||||||||||||||||||||||
| GraphQL for .NET Github: graphql-dotnet/graphql-dotnet Type: Code first | SDL first Stars: 5.9k ⭐ Last Release: 2025-04-13 |
|
|
||||||||||||||||||||||||||||||
| Hot Chocolate | ||||||||||||||||||||||||||||||||
| Open-source GraphQL server for the Microsoft .NET platform that takes the complexity away and lets you focus on delivering the next big thing. Github: ChilliCream/graphql-platform Type: Code first | SDL first Stars: 5.5k ⭐ Last Release: 2025-08-05 Federation Library: apollographql/federation-hotchocolate
|
|
|
||||||||||||||||||||||||||||||
Elixir
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Absinthe | ||||||||||||||||||||||||||||||||
| The GraphQL toolkit for Elixir Github: absinthe-graphql/absinthe Type: Code first Stars: 4.3k ⭐ Last Release: 2025-06-09 Federation Library: DivvyPayHQ/absinthe_federation |
|
|
||||||||||||||||||||||||||||||
Go
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gqlgen | ||||||||||||||||||||||||||||||||
| go generate based graphql server library Github: 99designs/gqlgen Type: SDL first Stars: 10.4k ⭐ Last Release: 2025-07-27 |
|
|
||||||||||||||||||||||||||||||
| GraphQL Go (fork) | ||||||||||||||||||||||||||||||||
| This is a fork of graphql-go/graphql that adds Federation support Github: dariuszkuc/graphql Type: Code first Stars: 2 ⭐ Last Release: 2022-11-11 |
|
|
||||||||||||||||||||||||||||||
Java / Kotlin
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dgs-framework | ||||||||||||||||||||||||||||||||
| GraphQL for Java with Spring Boot made easy. Github: netflix/dgs-framework Type: SDL first Stars: 3.2k ⭐ Last Release: 2025-06-30 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Java Kickstart (Spring Boot) | ||||||||||||||||||||||||||||||||
| GraphQL and GraphiQL Spring Framework Boot Starters - Forked from oembedler/graphql-spring-boot due to inactivity. Github: graphql-java-kickstart/graphql-spring-boot Type: SDL first Stars: 1.5k ⭐ Last Release: 2023-12-07 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Kotlin | ||||||||||||||||||||||||||||||||
| Libraries for running GraphQL in Kotlin Github: ExpediaGroup/graphql-kotlin Type: Code first Stars: 1.8k ⭐ Last Release: 2025-06-16 Core Library: GraphQL Java |
|
|
||||||||||||||||||||||||||||||
| SmallRye GraphQL | ||||||||||||||||||||||||||||||||
| Implementation for MicroProfile GraphQL Github: smallrye/smallrye-graphql Type: Code first Stars: 167 ⭐ Last Release: 2025-06-03 |
|
|
||||||||||||||||||||||||||||||
| Spring GraphQL | ||||||||||||||||||||||||||||||||
| Spring Integration for GraphQL Github: spring-projects/spring-graphql Type: SDL first Stars: 1.6k ⭐ Last Release: 2025-07-22 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
JavaScript / TypeScript
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apollo Server | ||||||||||||||||||||||||||||||||
| 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more. Github: apollographql/apollo-server ![]() Type: SDL first Stars: 13.9k ⭐ Last Release: 2025-07-17 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| express-graphql | ||||||||||||||||||||||||||||||||
| Create a GraphQL HTTP server with Express. Github: graphql/express-graphql Type: SDL first Stars: 6.3k ⭐ Last Release: 2020-11-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Yoga | ||||||||||||||||||||||||||||||||
| The fully-featured GraphQL server with focus on easy setup, performance and great developer experience. Github: dotansimha/graphql-yoga Type: SDL first Stars: 8.4k ⭐ Last Release: 2025-07-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Helix | ||||||||||||||||||||||||||||||||
| A highly evolved and framework-agnostic GraphQL HTTP server. Github: contra/graphql-helix Type: SDL first Stars: 829 ⭐ Last Release: 2022-07-09 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Mercurius | ||||||||||||||||||||||||||||||||
| Implement GraphQL servers and gateways with Fastify Github: mercurius-js/mercurius Type: SDL first Stars: 2.4k ⭐ Last Release: 2025-06-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (code first) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: Code first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (SDL First) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: SDL first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Pothos GraphQL | ||||||||||||||||||||||||||||||||
| Plugin based GraphQL schema builder that makes building graphql schemas with TypeScript easy, fast and enjoyable. Github: hayes/pothos Type: Code first Stars: 2.5k ⭐ Last Release: 2025-07-31 Core Library: GraphQL.js |
|
|
||||||||||||||||||||||||||||||
PHP
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lighthouse (Laravel) | ||||||||||||||||||||||||||||||||
| A framework for serving GraphQL from Laravel Github: nuwave/lighthouse Type: SDL first Stars: 3.4k ⭐ Last Release: 2025-07-23 Core Library: webonyx/graphql-php |
|
|
||||||||||||||||||||||||||||||
| GraphQL PHP | ||||||||||||||||||||||||||||||||
| PHP implementation of the GraphQL specification based on the reference implementation in JavaScript Github: webonyx/graphql-php Type: Code first Stars: 4.7k ⭐ Last Release: 2025-07-28 Federation Library: Skillshare/apollo-federation-php |
|
|
||||||||||||||||||||||||||||||
Python
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ariadne | ||||||||||||||||||||||||||||||||
| Python library for implementing GraphQL servers using schema-first approach. Github: mirumee/ariadne Type: SDL first Stars: 2.3k ⭐ Last Release: 2025-04-18 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
| Graphene | ||||||||||||||||||||||||||||||||
| GraphQL framework for Python Github: graphql-python/graphene Type: Code first Stars: 8.2k ⭐ Last Release: 2024-11-09 Core Library: GraphQL-core 3 Federation Library: graphql-python/graphene-federation |
|
|
||||||||||||||||||||||||||||||
| Strawberry | ||||||||||||||||||||||||||||||||
| A GraphQL library for Python that leverages type annotations 🍓 Github: strawberry-graphql/strawberry Type: Code first Stars: 4.4k ⭐ Last Release: 2025-08-05 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
Ruby
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL Ruby | ||||||||||||||||||||||||||||||||
| Ruby implementation of GraphQL Github: rmosolgo/graphql-ruby Type: Code first Stars: 5.4k ⭐ Last Release: 2025-07-19 Federation Library: Gusto/apollo-federation-ruby |
|
|
||||||||||||||||||||||||||||||
Rust
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| async-graphql | ||||||||||||||||||||||||||||||||
| A GraphQL server library implemented in Rust Github: async-graphql/async-graphql Type: Code first Stars: 3.5k ⭐ |
|
|
||||||||||||||||||||||||||||||
Scala
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Caliban | ||||||||||||||||||||||||||||||||
| Functional GraphQL library for Scala Github: ghostdogpr/caliban Type: Code first Stars: 968 ⭐ Last Release: 2025-07-14 |
|
|
||||||||||||||||||||||||||||||
| Sangria | ||||||||||||||||||||||||||||||||
| Scala GraphQL implementation Github: sangria-graphql/sangria Type: Code first Stars: 2.0k ⭐ Last Release: 2025-06-11 Federation Library: sangria-graphql/sangria-federated |
|
|
||||||||||||||||||||||||||||||
Swift
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Graphiti | ||||||||||||||||||||||||||||||||
| The Swift GraphQL Schema framework for macOS and Linux Github: GraphQLSwift/Graphiti Type: SDL first Stars: 546 ⭐ Last Release: 2025-06-09 |
|
|
||||||||||||||||||||||||||||||
Other Solutions
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | ||||||||||||||||||||||||||||||||
| Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast. |
|
|
||||||||||||||||||||||||||||||
| GraphQL Mesh | ||||||||||||||||||||||||||||||||
| Executable GraphQL schema from multiple data sources, query anything, run anywhere. Github: Urigo/graphql-mesh Stars: 3.4k ⭐ |
|
|
||||||||||||||||||||||||||||||
| Neo4J Graph Database | ||||||||||||||||||||||||||||||||
| A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations. Github: neo4j/graphql Type: Code first | SDL first Stars: 537 ⭐ Last Release: 2025-08-04 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| IBM API Connect for GraphQL | ||||||||||||||||||||||||||||||||
| Build GraphQL APIs for all your data in a declarative way. Federate across any data source, including GraphQL. |
|
|
||||||||||||||||||||||||||||||
Apollo Federation Subgraph Compatibility Results
The following open-source GraphQL server libraries and other solutions support acting as a subgraph in a federated supergraph.
Table Legend
| Icon | Description |
|---|---|
![]() |
Maintained by Apollo |
| 🟢 | Functionality is supported |
| ❌ | Critical functionality is NOT supported |
| 🔲 | Additional federation functionality is NOT supported |
Ballerina
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ballerina GraphQL Module | ||||||||||||||||||||||||||||||||
| A spec-compliant, production-ready, Standard Library module for building and interacting with GraphQL APIs using Ballerina. Github: ballerina-platform/module-ballerina-graphql Type: Code first Stars: 139 ⭐ Last Release: 2025-04-11 |
|
|
||||||||||||||||||||||||||||||
C# / .NET
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL for .NET | ||||||||||||||||||||||||||||||||
| GraphQL for .NET Github: graphql-dotnet/graphql-dotnet Type: Code first | SDL first Stars: 5.9k ⭐ Last Release: 2025-04-13 |
|
|
||||||||||||||||||||||||||||||
| Hot Chocolate | ||||||||||||||||||||||||||||||||
| Open-source GraphQL server for the Microsoft .NET platform that takes the complexity away and lets you focus on delivering the next big thing. Github: ChilliCream/graphql-platform Type: Code first | SDL first Stars: 5.5k ⭐ Last Release: 2025-08-05 Federation Library: apollographql/federation-hotchocolate
|
|
|
||||||||||||||||||||||||||||||
Elixir
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Absinthe | ||||||||||||||||||||||||||||||||
| The GraphQL toolkit for Elixir Github: absinthe-graphql/absinthe Type: Code first Stars: 4.3k ⭐ Last Release: 2025-06-09 Federation Library: DivvyPayHQ/absinthe_federation |
|
|
||||||||||||||||||||||||||||||
Go
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gqlgen | ||||||||||||||||||||||||||||||||
| go generate based graphql server library Github: 99designs/gqlgen Type: SDL first Stars: 10.4k ⭐ Last Release: 2025-07-27 |
|
|
||||||||||||||||||||||||||||||
| GraphQL Go (fork) | ||||||||||||||||||||||||||||||||
| This is a fork of graphql-go/graphql that adds Federation support Github: dariuszkuc/graphql Type: Code first Stars: 2 ⭐ Last Release: 2022-11-11 |
|
|
||||||||||||||||||||||||||||||
Java / Kotlin
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dgs-framework | ||||||||||||||||||||||||||||||||
| GraphQL for Java with Spring Boot made easy. Github: netflix/dgs-framework Type: SDL first Stars: 3.2k ⭐ Last Release: 2025-06-30 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Java Kickstart (Spring Boot) | ||||||||||||||||||||||||||||||||
| GraphQL and GraphiQL Spring Framework Boot Starters - Forked from oembedler/graphql-spring-boot due to inactivity. Github: graphql-java-kickstart/graphql-spring-boot Type: SDL first Stars: 1.5k ⭐ Last Release: 2023-12-07 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Kotlin | ||||||||||||||||||||||||||||||||
| Libraries for running GraphQL in Kotlin Github: ExpediaGroup/graphql-kotlin Type: Code first Stars: 1.8k ⭐ Last Release: 2025-06-16 Core Library: GraphQL Java |
|
|
||||||||||||||||||||||||||||||
| SmallRye GraphQL | ||||||||||||||||||||||||||||||||
| Implementation for MicroProfile GraphQL Github: smallrye/smallrye-graphql Type: Code first Stars: 167 ⭐ Last Release: 2025-06-03 |
|
|
||||||||||||||||||||||||||||||
| Spring GraphQL | ||||||||||||||||||||||||||||||||
| Spring Integration for GraphQL Github: spring-projects/spring-graphql Type: SDL first Stars: 1.6k ⭐ Last Release: 2025-07-22 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
JavaScript / TypeScript
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apollo Server | ||||||||||||||||||||||||||||||||
| 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more. Github: apollographql/apollo-server ![]() Type: SDL first Stars: 13.9k ⭐ Last Release: 2025-07-17 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| express-graphql | ||||||||||||||||||||||||||||||||
| Create a GraphQL HTTP server with Express. Github: graphql/express-graphql Type: SDL first Stars: 6.3k ⭐ Last Release: 2020-11-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Yoga | ||||||||||||||||||||||||||||||||
| The fully-featured GraphQL server with focus on easy setup, performance and great developer experience. Github: dotansimha/graphql-yoga Type: SDL first Stars: 8.4k ⭐ Last Release: 2025-07-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Helix | ||||||||||||||||||||||||||||||||
| A highly evolved and framework-agnostic GraphQL HTTP server. Github: contra/graphql-helix Type: SDL first Stars: 829 ⭐ Last Release: 2022-07-09 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Mercurius | ||||||||||||||||||||||||||||||||
| Implement GraphQL servers and gateways with Fastify Github: mercurius-js/mercurius Type: SDL first Stars: 2.4k ⭐ Last Release: 2025-06-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (code first) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: Code first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (SDL First) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: SDL first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Pothos GraphQL | ||||||||||||||||||||||||||||||||
| Plugin based GraphQL schema builder that makes building graphql schemas with TypeScript easy, fast and enjoyable. Github: hayes/pothos Type: Code first Stars: 2.5k ⭐ Last Release: 2025-07-31 Core Library: GraphQL.js |
|
|
||||||||||||||||||||||||||||||
PHP
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lighthouse (Laravel) | ||||||||||||||||||||||||||||||||
| A framework for serving GraphQL from Laravel Github: nuwave/lighthouse Type: SDL first Stars: 3.4k ⭐ Last Release: 2025-07-23 Core Library: webonyx/graphql-php |
|
|
||||||||||||||||||||||||||||||
| GraphQL PHP | ||||||||||||||||||||||||||||||||
| PHP implementation of the GraphQL specification based on the reference implementation in JavaScript Github: webonyx/graphql-php Type: Code first Stars: 4.7k ⭐ Last Release: 2025-07-28 Federation Library: Skillshare/apollo-federation-php |
|
|
||||||||||||||||||||||||||||||
Python
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ariadne | ||||||||||||||||||||||||||||||||
| Python library for implementing GraphQL servers using schema-first approach. Github: mirumee/ariadne Type: SDL first Stars: 2.3k ⭐ Last Release: 2025-04-18 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
| Graphene | ||||||||||||||||||||||||||||||||
| GraphQL framework for Python Github: graphql-python/graphene Type: Code first Stars: 8.2k ⭐ Last Release: 2024-11-09 Core Library: GraphQL-core 3 Federation Library: graphql-python/graphene-federation |
|
|
||||||||||||||||||||||||||||||
| Strawberry | ||||||||||||||||||||||||||||||||
| A GraphQL library for Python that leverages type annotations 🍓 Github: strawberry-graphql/strawberry Type: Code first Stars: 4.4k ⭐ Last Release: 2025-08-05 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
Ruby
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL Ruby | ||||||||||||||||||||||||||||||||
| Ruby implementation of GraphQL Github: rmosolgo/graphql-ruby Type: Code first Stars: 5.4k ⭐ Last Release: 2025-07-19 Federation Library: Gusto/apollo-federation-ruby |
|
|
||||||||||||||||||||||||||||||
Rust
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| async-graphql | ||||||||||||||||||||||||||||||||
| A GraphQL server library implemented in Rust Github: async-graphql/async-graphql Type: Code first Stars: 3.5k ⭐ |
|
|
||||||||||||||||||||||||||||||
Scala
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Caliban | ||||||||||||||||||||||||||||||||
| Functional GraphQL library for Scala Github: ghostdogpr/caliban Type: Code first Stars: 968 ⭐ Last Release: 2025-07-14 |
|
|
||||||||||||||||||||||||||||||
| Sangria | ||||||||||||||||||||||||||||||||
| Scala GraphQL implementation Github: sangria-graphql/sangria Type: Code first Stars: 2.0k ⭐ Last Release: 2025-06-11 Federation Library: sangria-graphql/sangria-federated |
|
|
||||||||||||||||||||||||||||||
Swift
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Graphiti | ||||||||||||||||||||||||||||||||
| The Swift GraphQL Schema framework for macOS and Linux Github: GraphQLSwift/Graphiti Type: SDL first Stars: 546 ⭐ Last Release: 2025-06-09 |
|
|
||||||||||||||||||||||||||||||
Other Solutions
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | ||||||||||||||||||||||||||||||||
| Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast. |
|
|
||||||||||||||||||||||||||||||
| GraphQL Mesh | ||||||||||||||||||||||||||||||||
| Executable GraphQL schema from multiple data sources, query anything, run anywhere. Github: Urigo/graphql-mesh Stars: 3.4k ⭐ |
|
|
||||||||||||||||||||||||||||||
| Neo4J Graph Database | ||||||||||||||||||||||||||||||||
| A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations. Github: neo4j/graphql Type: Code first | SDL first Stars: 537 ⭐ Last Release: 2025-08-04 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| IBM API Connect for GraphQL | ||||||||||||||||||||||||||||||||
| Build GraphQL APIs for all your data in a declarative way. Federate across any data source, including GraphQL. |
|
|
||||||||||||||||||||||||||||||
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
The following open-source GraphQL server libraries and other solutions support acting as a subgraph in a federated supergraph.
Table Legend
| Icon | Description |
|---|---|
![]() |
Maintained by Apollo |
| 🟢 | Functionality is supported |
| ❌ | Critical functionality is NOT supported |
| 🔲 | Additional federation functionality is NOT supported |
Ballerina
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ballerina GraphQL Module | ||||||||||||||||||||||||||||||||
| A spec-compliant, production-ready, Standard Library module for building and interacting with GraphQL APIs using Ballerina. Github: ballerina-platform/module-ballerina-graphql Type: Code first Stars: 139 ⭐ Last Release: 2025-04-11 |
|
|
||||||||||||||||||||||||||||||
C# / .NET
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL for .NET | ||||||||||||||||||||||||||||||||
| GraphQL for .NET Github: graphql-dotnet/graphql-dotnet Type: Code first | SDL first Stars: 5.9k ⭐ Last Release: 2025-04-13 |
|
|
||||||||||||||||||||||||||||||
| Hot Chocolate | ||||||||||||||||||||||||||||||||
| Open-source GraphQL server for the Microsoft .NET platform that takes the complexity away and lets you focus on delivering the next big thing. Github: ChilliCream/graphql-platform Type: Code first | SDL first Stars: 5.5k ⭐ Last Release: 2025-08-05 Federation Library: apollographql/federation-hotchocolate
|
|
|
||||||||||||||||||||||||||||||
Elixir
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Absinthe | ||||||||||||||||||||||||||||||||
| The GraphQL toolkit for Elixir Github: absinthe-graphql/absinthe Type: Code first Stars: 4.3k ⭐ Last Release: 2025-06-09 Federation Library: DivvyPayHQ/absinthe_federation |
|
|
||||||||||||||||||||||||||||||
Go
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gqlgen | ||||||||||||||||||||||||||||||||
| go generate based graphql server library Github: 99designs/gqlgen Type: SDL first Stars: 10.4k ⭐ Last Release: 2025-07-27 |
|
|
||||||||||||||||||||||||||||||
| GraphQL Go (fork) | ||||||||||||||||||||||||||||||||
| This is a fork of graphql-go/graphql that adds Federation support Github: dariuszkuc/graphql Type: Code first Stars: 2 ⭐ Last Release: 2022-11-11 |
|
|
||||||||||||||||||||||||||||||
Java / Kotlin
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dgs-framework | ||||||||||||||||||||||||||||||||
| GraphQL for Java with Spring Boot made easy. Github: netflix/dgs-framework Type: SDL first Stars: 3.2k ⭐ Last Release: 2025-06-30 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Java Kickstart (Spring Boot) | ||||||||||||||||||||||||||||||||
| GraphQL and GraphiQL Spring Framework Boot Starters - Forked from oembedler/graphql-spring-boot due to inactivity. Github: graphql-java-kickstart/graphql-spring-boot Type: SDL first Stars: 1.5k ⭐ Last Release: 2023-12-07 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Kotlin | ||||||||||||||||||||||||||||||||
| Libraries for running GraphQL in Kotlin Github: ExpediaGroup/graphql-kotlin Type: Code first Stars: 1.8k ⭐ Last Release: 2025-06-16 Core Library: GraphQL Java |
|
|
||||||||||||||||||||||||||||||
| SmallRye GraphQL | ||||||||||||||||||||||||||||||||
| Implementation for MicroProfile GraphQL Github: smallrye/smallrye-graphql Type: Code first Stars: 167 ⭐ Last Release: 2025-06-03 |
|
|
||||||||||||||||||||||||||||||
| Spring GraphQL | ||||||||||||||||||||||||||||||||
| Spring Integration for GraphQL Github: spring-projects/spring-graphql Type: SDL first Stars: 1.6k ⭐ Last Release: 2025-07-22 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
JavaScript / TypeScript
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apollo Server | ||||||||||||||||||||||||||||||||
| 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more. Github: apollographql/apollo-server ![]() Type: SDL first Stars: 13.9k ⭐ Last Release: 2025-07-17 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| express-graphql | ||||||||||||||||||||||||||||||||
| Create a GraphQL HTTP server with Express. Github: graphql/express-graphql Type: SDL first Stars: 6.3k ⭐ Last Release: 2020-11-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Yoga | ||||||||||||||||||||||||||||||||
| The fully-featured GraphQL server with focus on easy setup, performance and great developer experience. Github: dotansimha/graphql-yoga Type: SDL first Stars: 8.4k ⭐ Last Release: 2025-07-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Helix | ||||||||||||||||||||||||||||||||
| A highly evolved and framework-agnostic GraphQL HTTP server. Github: contra/graphql-helix Type: SDL first Stars: 829 ⭐ Last Release: 2022-07-09 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Mercurius | ||||||||||||||||||||||||||||||||
| Implement GraphQL servers and gateways with Fastify Github: mercurius-js/mercurius Type: SDL first Stars: 2.4k ⭐ Last Release: 2025-06-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (code first) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: Code first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (SDL First) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: SDL first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Pothos GraphQL | ||||||||||||||||||||||||||||||||
| Plugin based GraphQL schema builder that makes building graphql schemas with TypeScript easy, fast and enjoyable. Github: hayes/pothos Type: Code first Stars: 2.5k ⭐ Last Release: 2025-07-31 Core Library: GraphQL.js |
|
|
||||||||||||||||||||||||||||||
PHP
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lighthouse (Laravel) | ||||||||||||||||||||||||||||||||
| A framework for serving GraphQL from Laravel Github: nuwave/lighthouse Type: SDL first Stars: 3.4k ⭐ Last Release: 2025-07-23 Core Library: webonyx/graphql-php |
|
|
||||||||||||||||||||||||||||||
| GraphQL PHP | ||||||||||||||||||||||||||||||||
| PHP implementation of the GraphQL specification based on the reference implementation in JavaScript Github: webonyx/graphql-php Type: Code first Stars: 4.7k ⭐ Last Release: 2025-07-28 Federation Library: Skillshare/apollo-federation-php |
|
|
||||||||||||||||||||||||||||||
Python
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ariadne | ||||||||||||||||||||||||||||||||
| Python library for implementing GraphQL servers using schema-first approach. Github: mirumee/ariadne Type: SDL first Stars: 2.3k ⭐ Last Release: 2025-04-18 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
| Graphene | ||||||||||||||||||||||||||||||||
| GraphQL framework for Python Github: graphql-python/graphene Type: Code first Stars: 8.2k ⭐ Last Release: 2024-11-09 Core Library: GraphQL-core 3 Federation Library: graphql-python/graphene-federation |
|
|
||||||||||||||||||||||||||||||
| Strawberry | ||||||||||||||||||||||||||||||||
| A GraphQL library for Python that leverages type annotations 🍓 Github: strawberry-graphql/strawberry Type: Code first Stars: 4.4k ⭐ Last Release: 2025-08-05 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
Ruby
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL Ruby | ||||||||||||||||||||||||||||||||
| Ruby implementation of GraphQL Github: rmosolgo/graphql-ruby Type: Code first Stars: 5.4k ⭐ Last Release: 2025-07-19 Federation Library: Gusto/apollo-federation-ruby |
|
|
||||||||||||||||||||||||||||||
Rust
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| async-graphql | ||||||||||||||||||||||||||||||||
| A GraphQL server library implemented in Rust Github: async-graphql/async-graphql Type: Code first Stars: 3.5k ⭐ |
|
|
||||||||||||||||||||||||||||||
Scala
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Caliban | ||||||||||||||||||||||||||||||||
| Functional GraphQL library for Scala Github: ghostdogpr/caliban Type: Code first Stars: 968 ⭐ Last Release: 2025-07-14 |
|
|
||||||||||||||||||||||||||||||
| Sangria | ||||||||||||||||||||||||||||||||
| Scala GraphQL implementation Github: sangria-graphql/sangria Type: Code first Stars: 2.0k ⭐ Last Release: 2025-06-11 Federation Library: sangria-graphql/sangria-federated |
|
|
||||||||||||||||||||||||||||||
Swift
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Graphiti | ||||||||||||||||||||||||||||||||
| The Swift GraphQL Schema framework for macOS and Linux Github: GraphQLSwift/Graphiti Type: SDL first Stars: 546 ⭐ Last Release: 2025-06-09 |
|
|
||||||||||||||||||||||||||||||
Other Solutions
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | ||||||||||||||||||||||||||||||||
| Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast. |
|
|
||||||||||||||||||||||||||||||
| GraphQL Mesh | ||||||||||||||||||||||||||||||||
| Executable GraphQL schema from multiple data sources, query anything, run anywhere. Github: Urigo/graphql-mesh Stars: 3.4k ⭐ |
|
|
||||||||||||||||||||||||||||||
| Neo4J Graph Database | ||||||||||||||||||||||||||||||||
| A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations. Github: neo4j/graphql Type: Code first | SDL first Stars: 537 ⭐ Last Release: 2025-08-04 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| IBM API Connect for GraphQL | ||||||||||||||||||||||||||||||||
| Build GraphQL APIs for all your data in a declarative way. Federate across any data source, including GraphQL. |
|
|
||||||||||||||||||||||||||||||
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
The following open-source GraphQL server libraries and other solutions support acting as a subgraph in a federated supergraph.
Table Legend
| Icon | Description |
|---|---|
![]() |
Maintained by Apollo |
| 🟢 | Functionality is supported |
| ❌ | Critical functionality is NOT supported |
| 🔲 | Additional federation functionality is NOT supported |
Ballerina
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ballerina GraphQL Module | ||||||||||||||||||||||||||||||||
| A spec-compliant, production-ready, Standard Library module for building and interacting with GraphQL APIs using Ballerina. Github: ballerina-platform/module-ballerina-graphql Type: Code first Stars: 139 ⭐ Last Release: 2025-04-11 |
|
|
||||||||||||||||||||||||||||||
C# / .NET
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL for .NET | ||||||||||||||||||||||||||||||||
| GraphQL for .NET Github: graphql-dotnet/graphql-dotnet Type: Code first | SDL first Stars: 5.9k ⭐ Last Release: 2025-04-13 |
|
|
||||||||||||||||||||||||||||||
| Hot Chocolate | ||||||||||||||||||||||||||||||||
| Open-source GraphQL server for the Microsoft .NET platform that takes the complexity away and lets you focus on delivering the next big thing. Github: ChilliCream/graphql-platform Type: Code first | SDL first Stars: 5.5k ⭐ Last Release: 2025-08-05 Federation Library: apollographql/federation-hotchocolate
|
|
|
||||||||||||||||||||||||||||||
Elixir
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Absinthe | ||||||||||||||||||||||||||||||||
| The GraphQL toolkit for Elixir Github: absinthe-graphql/absinthe Type: Code first Stars: 4.3k ⭐ Last Release: 2025-06-09 Federation Library: DivvyPayHQ/absinthe_federation |
|
|
||||||||||||||||||||||||||||||
Go
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gqlgen | ||||||||||||||||||||||||||||||||
| go generate based graphql server library Github: 99designs/gqlgen Type: SDL first Stars: 10.4k ⭐ Last Release: 2025-07-27 |
|
|
||||||||||||||||||||||||||||||
| GraphQL Go (fork) | ||||||||||||||||||||||||||||||||
| This is a fork of graphql-go/graphql that adds Federation support Github: dariuszkuc/graphql Type: Code first Stars: 2 ⭐ Last Release: 2022-11-11 |
|
|
||||||||||||||||||||||||||||||
Java / Kotlin
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dgs-framework | ||||||||||||||||||||||||||||||||
| GraphQL for Java with Spring Boot made easy. Github: netflix/dgs-framework Type: SDL first Stars: 3.2k ⭐ Last Release: 2025-06-30 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Java Kickstart (Spring Boot) | ||||||||||||||||||||||||||||||||
| GraphQL and GraphiQL Spring Framework Boot Starters - Forked from oembedler/graphql-spring-boot due to inactivity. Github: graphql-java-kickstart/graphql-spring-boot Type: SDL first Stars: 1.5k ⭐ Last Release: 2023-12-07 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Kotlin | ||||||||||||||||||||||||||||||||
| Libraries for running GraphQL in Kotlin Github: ExpediaGroup/graphql-kotlin Type: Code first Stars: 1.8k ⭐ Last Release: 2025-06-16 Core Library: GraphQL Java |
|
|
||||||||||||||||||||||||||||||
| SmallRye GraphQL | ||||||||||||||||||||||||||||||||
| Implementation for MicroProfile GraphQL Github: smallrye/smallrye-graphql Type: Code first Stars: 167 ⭐ Last Release: 2025-06-03 |
|
|
||||||||||||||||||||||||||||||
| Spring GraphQL | ||||||||||||||||||||||||||||||||
| Spring Integration for GraphQL Github: spring-projects/spring-graphql Type: SDL first Stars: 1.6k ⭐ Last Release: 2025-07-22 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
JavaScript / TypeScript
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apollo Server | ||||||||||||||||||||||||||||||||
| 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more. Github: apollographql/apollo-server ![]() Type: SDL first Stars: 13.9k ⭐ Last Release: 2025-07-17 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| express-graphql | ||||||||||||||||||||||||||||||||
| Create a GraphQL HTTP server with Express. Github: graphql/express-graphql Type: SDL first Stars: 6.3k ⭐ Last Release: 2020-11-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Yoga | ||||||||||||||||||||||||||||||||
| The fully-featured GraphQL server with focus on easy setup, performance and great developer experience. Github: dotansimha/graphql-yoga Type: SDL first Stars: 8.4k ⭐ Last Release: 2025-07-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Helix | ||||||||||||||||||||||||||||||||
| A highly evolved and framework-agnostic GraphQL HTTP server. Github: contra/graphql-helix Type: SDL first Stars: 829 ⭐ Last Release: 2022-07-09 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Mercurius | ||||||||||||||||||||||||||||||||
| Implement GraphQL servers and gateways with Fastify Github: mercurius-js/mercurius Type: SDL first Stars: 2.4k ⭐ Last Release: 2025-06-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (code first) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: Code first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (SDL First) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: SDL first Stars: 1.5k ⭐ Last Release: 2025-04-11 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Pothos GraphQL | ||||||||||||||||||||||||||||||||
| Plugin based GraphQL schema builder that makes building graphql schemas with TypeScript easy, fast and enjoyable. Github: hayes/pothos Type: Code first Stars: 2.5k ⭐ Last Release: 2025-07-31 Core Library: GraphQL.js |
|
|
||||||||||||||||||||||||||||||
PHP
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lighthouse (Laravel) | ||||||||||||||||||||||||||||||||
| A framework for serving GraphQL from Laravel Github: nuwave/lighthouse Type: SDL first Stars: 3.4k ⭐ Last Release: 2025-07-23 Core Library: webonyx/graphql-php |
|
|
||||||||||||||||||||||||||||||
| GraphQL PHP | ||||||||||||||||||||||||||||||||
| PHP implementation of the GraphQL specification based on the reference implementation in JavaScript Github: webonyx/graphql-php Type: Code first Stars: 4.7k ⭐ Last Release: 2025-07-28 Federation Library: Skillshare/apollo-federation-php |
|
|
||||||||||||||||||||||||||||||
Python
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ariadne | ||||||||||||||||||||||||||||||||
| Python library for implementing GraphQL servers using schema-first approach. Github: mirumee/ariadne Type: SDL first Stars: 2.3k ⭐ Last Release: 2025-04-18 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
| Graphene | ||||||||||||||||||||||||||||||||
| GraphQL framework for Python Github: graphql-python/graphene Type: Code first Stars: 8.2k ⭐ Last Release: 2024-11-09 Core Library: GraphQL-core 3 Federation Library: graphql-python/graphene-federation |
|
|
||||||||||||||||||||||||||||||
| Strawberry | ||||||||||||||||||||||||||||||||
| A GraphQL library for Python that leverages type annotations 🍓 Github: strawberry-graphql/strawberry Type: Code first Stars: 4.4k ⭐ Last Release: 2025-08-05 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
Ruby
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL Ruby | ||||||||||||||||||||||||||||||||
| Ruby implementation of GraphQL Github: rmosolgo/graphql-ruby Type: Code first Stars: 5.4k ⭐ Last Release: 2025-07-19 Federation Library: Gusto/apollo-federation-ruby |
|
|
||||||||||||||||||||||||||||||
Rust
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| async-graphql | ||||||||||||||||||||||||||||||||
| A GraphQL server library implemented in Rust Github: async-graphql/async-graphql Type: Code first Stars: 3.5k ⭐ |
|
|
||||||||||||||||||||||||||||||
Scala
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Caliban | ||||||||||||||||||||||||||||||||
| Functional GraphQL library for Scala Github: ghostdogpr/caliban Type: Code first Stars: 968 ⭐ Last Release: 2025-07-14 |
|
|
||||||||||||||||||||||||||||||
| Sangria | ||||||||||||||||||||||||||||||||
| Scala GraphQL implementation Github: sangria-graphql/sangria Type: Code first Stars: 2.0k ⭐ Last Release: 2025-06-11 Federation Library: sangria-graphql/sangria-federated |
|
|
||||||||||||||||||||||||||||||
Swift
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Graphiti | ||||||||||||||||||||||||||||||||
| The Swift GraphQL Schema framework for macOS and Linux Github: GraphQLSwift/Graphiti Type: SDL first Stars: 546 ⭐ Last Release: 2025-06-09 |
|
|
||||||||||||||||||||||||||||||
Other Solutions
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | ||||||||||||||||||||||||||||||||
| Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast. |
|
|
||||||||||||||||||||||||||||||
| GraphQL Mesh | ||||||||||||||||||||||||||||||||
| Executable GraphQL schema from multiple data sources, query anything, run anywhere. Github: Urigo/graphql-mesh Stars: 3.4k ⭐ |
|
|
||||||||||||||||||||||||||||||
| Neo4J Graph Database | ||||||||||||||||||||||||||||||||
| A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations. Github: neo4j/graphql Type: Code first | SDL first Stars: 537 ⭐ Last Release: 2025-08-04 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| IBM API Connect for GraphQL | ||||||||||||||||||||||||||||||||
| Build GraphQL APIs for all your data in a declarative way. Federate across any data source, including GraphQL. |
|
|
||||||||||||||||||||||||||||||
Apollo Federation Subgraph Compatibility Results
| Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Apollo Federation Subgraph Compatibility Results
The following open-source GraphQL server libraries and other solutions support acting as a subgraph in a federated supergraph.
Table Legend
| Icon | Description |
|---|---|
![]() |
Maintained by Apollo |
| 🟢 | Functionality is supported |
| ❌ | Critical functionality is NOT supported |
| 🔲 | Additional federation functionality is NOT supported |
Ballerina
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ballerina GraphQL Module | ||||||||||||||||||||||||||||||||
| A spec-compliant, production-ready, Standard Library module for building and interacting with GraphQL APIs using Ballerina. Github: ballerina-platform/module-ballerina-graphql Type: Code first Stars: 139 ⭐ Last Release: 2025-04-11 |
|
|
||||||||||||||||||||||||||||||
C# / .NET
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL for .NET | ||||||||||||||||||||||||||||||||
| GraphQL for .NET Github: graphql-dotnet/graphql-dotnet Type: Code first | SDL first Stars: 6.0k ⭐ Last Release: 2025-09-21 |
|
|
||||||||||||||||||||||||||||||
| Hot Chocolate | ||||||||||||||||||||||||||||||||
| Open-source GraphQL server for the Microsoft .NET platform that takes the complexity away and lets you focus on delivering the next big thing. Github: ChilliCream/graphql-platform Type: Code first | SDL first Stars: 5.6k ⭐ Last Release: 2025-10-04 Federation Library: apollographql/federation-hotchocolate
|
|
|
||||||||||||||||||||||||||||||
Elixir
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Absinthe | ||||||||||||||||||||||||||||||||
| The GraphQL toolkit for Elixir Github: absinthe-graphql/absinthe Type: Code first Stars: 4.4k ⭐ Last Release: 2025-06-09 Federation Library: DivvyPayHQ/absinthe_federation |
|
|
||||||||||||||||||||||||||||||
Go
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| gqlgen | ||||||||||||||||||||||||||||||||
| go generate based graphql server library Github: 99designs/gqlgen Type: SDL first Stars: 10.5k ⭐ Last Release: 2025-09-25 |
|
|
||||||||||||||||||||||||||||||
| GraphQL Go (fork) | ||||||||||||||||||||||||||||||||
| This is a fork of graphql-go/graphql that adds Federation support Github: dariuszkuc/graphql Type: Code first Stars: 2 ⭐ Last Release: 2022-11-11 |
|
|
||||||||||||||||||||||||||||||
Java / Kotlin
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dgs-framework | ||||||||||||||||||||||||||||||||
| GraphQL for Java with Spring Boot made easy. Github: netflix/dgs-framework Type: SDL first Stars: 3.3k ⭐ Last Release: 2025-09-15 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Java Kickstart (Spring Boot) | ||||||||||||||||||||||||||||||||
| GraphQL and GraphiQL Spring Framework Boot Starters - Forked from oembedler/graphql-spring-boot due to inactivity. Github: graphql-java-kickstart/graphql-spring-boot Type: SDL first Stars: 1.5k ⭐ Last Release: 2023-12-07 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Kotlin | ||||||||||||||||||||||||||||||||
| Libraries for running GraphQL in Kotlin Github: ExpediaGroup/graphql-kotlin Type: Code first Stars: 1.8k ⭐ Last Release: 2025-06-16 Core Library: GraphQL Java |
|
|
||||||||||||||||||||||||||||||
| SmallRye GraphQL | ||||||||||||||||||||||||||||||||
| Implementation for MicroProfile GraphQL Github: smallrye/smallrye-graphql Type: Code first Stars: 167 ⭐ Last Release: 2025-10-03 |
|
|
||||||||||||||||||||||||||||||
| Spring GraphQL | ||||||||||||||||||||||||||||||||
| Spring Integration for GraphQL Github: spring-projects/spring-graphql Type: SDL first Stars: 1.6k ⭐ Last Release: 2025-09-16 Core Library: GraphQL Java Federation Library: apollographql/federation-jvm
|
|
|
||||||||||||||||||||||||||||||
JavaScript / TypeScript
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Apollo Server | ||||||||||||||||||||||||||||||||
| 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more. Github: apollographql/apollo-server ![]() Type: SDL first Stars: 13.9k ⭐ Last Release: 2025-07-17 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| express-graphql | ||||||||||||||||||||||||||||||||
| Create a GraphQL HTTP server with Express. Github: graphql/express-graphql Type: SDL first Stars: 6.3k ⭐ Last Release: 2020-11-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Yoga | ||||||||||||||||||||||||||||||||
| The fully-featured GraphQL server with focus on easy setup, performance and great developer experience. Github: dotansimha/graphql-yoga Type: SDL first Stars: 8.4k ⭐ Last Release: 2025-09-19 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| GraphQL Helix | ||||||||||||||||||||||||||||||||
| A highly evolved and framework-agnostic GraphQL HTTP server. Github: contra/graphql-helix Type: SDL first Stars: 829 ⭐ Last Release: 2022-07-09 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Mercurius | ||||||||||||||||||||||||||||||||
| Implement GraphQL servers and gateways with Fastify Github: mercurius-js/mercurius Type: SDL first Stars: 2.4k ⭐ Last Release: 2025-09-25 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (code first) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: Code first Stars: 1.5k ⭐ Last Release: 2025-10-02 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| NestJS (SDL First) | ||||||||||||||||||||||||||||||||
| A progressive Node.js framework for building efficient, reliable and scalable server-side applications. Github: nestjs/graphql Type: SDL first Stars: 1.5k ⭐ Last Release: 2025-10-02 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| Pothos GraphQL | ||||||||||||||||||||||||||||||||
| Plugin based GraphQL schema builder that makes building graphql schemas with TypeScript easy, fast and enjoyable. Github: hayes/pothos Type: Code first Stars: 2.5k ⭐ Last Release: 2025-10-04 Core Library: GraphQL.js |
|
|
||||||||||||||||||||||||||||||
PHP
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lighthouse (Laravel) | ||||||||||||||||||||||||||||||||
| A framework for serving GraphQL from Laravel Github: nuwave/lighthouse Type: SDL first Stars: 3.5k ⭐ Last Release: 2025-09-11 Core Library: webonyx/graphql-php |
|
|
||||||||||||||||||||||||||||||
| GraphQL PHP | ||||||||||||||||||||||||||||||||
| PHP implementation of the GraphQL specification based on the reference implementation in JavaScript Github: webonyx/graphql-php Type: Code first Stars: 4.7k ⭐ Last Release: 2025-08-20 Federation Library: Skillshare/apollo-federation-php |
|
|
||||||||||||||||||||||||||||||
Python
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Ariadne | ||||||||||||||||||||||||||||||||
| Python library for implementing GraphQL servers using schema-first approach. Github: mirumee/ariadne Type: SDL first Stars: 2.3k ⭐ Last Release: 2025-04-18 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
| Graphene | ||||||||||||||||||||||||||||||||
| GraphQL framework for Python Github: graphql-python/graphene Type: Code first Stars: 8.2k ⭐ Last Release: 2024-11-09 Core Library: GraphQL-core 3 Federation Library: graphql-python/graphene-federation |
|
|
||||||||||||||||||||||||||||||
| Strawberry | ||||||||||||||||||||||||||||||||
| A GraphQL library for Python that leverages type annotations 🍓 Github: strawberry-graphql/strawberry Type: Code first Stars: 4.4k ⭐ Last Release: 2025-09-07 Core Library: GraphQL-core 3 |
|
|
||||||||||||||||||||||||||||||
Ruby
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GraphQL Ruby | ||||||||||||||||||||||||||||||||
| Ruby implementation of GraphQL Github: rmosolgo/graphql-ruby Type: Code first Stars: 5.4k ⭐ Last Release: 2025-07-19 Federation Library: Gusto/apollo-federation-ruby |
|
|
||||||||||||||||||||||||||||||
Rust
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| async-graphql | ||||||||||||||||||||||||||||||||
| A GraphQL server library implemented in Rust Github: async-graphql/async-graphql Type: Code first Stars: 3.6k ⭐ |
|
|
||||||||||||||||||||||||||||||
Scala
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Caliban | ||||||||||||||||||||||||||||||||
| Functional GraphQL library for Scala Github: ghostdogpr/caliban Type: Code first Stars: 975 ⭐ Last Release: 2025-07-14 |
|
|
||||||||||||||||||||||||||||||
| Sangria | ||||||||||||||||||||||||||||||||
| Scala GraphQL implementation Github: sangria-graphql/sangria Type: Code first Stars: 2.0k ⭐ Last Release: 2025-08-09 Federation Library: sangria-graphql/sangria-federated |
|
|
||||||||||||||||||||||||||||||
Swift
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Graphiti | ||||||||||||||||||||||||||||||||
| The Swift GraphQL Schema framework for macOS and Linux Github: GraphQLSwift/Graphiti Type: SDL first Stars: 550 ⭐ Last Release: 2025-08-21 |
|
|
||||||||||||||||||||||||||||||
Other Solutions
| Library | Federation 1 Support | Federation 2 Support | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dgraph | ||||||||||||||||||||||||||||||||
| Dgraph is the native GraphQL database with a graph backend. It is open-source, scalable, distributed, highly available and lightning fast. |
|
|
||||||||||||||||||||||||||||||
| GraphQL Mesh | ||||||||||||||||||||||||||||||||
| Executable GraphQL schema from multiple data sources, query anything, run anywhere. Github: Urigo/graphql-mesh Stars: 3.4k ⭐ |
|
|
||||||||||||||||||||||||||||||
| Neo4J Graph Database | ||||||||||||||||||||||||||||||||
| A GraphQL to Cypher query execution layer for Neo4j and JavaScript GraphQL implementations. Github: neo4j/graphql Type: Code first | SDL first Stars: 541 ⭐ Last Release: 2025-09-29 Core Library: GraphQL.js Federation Library: Apollo Subgraph
|
|
|
||||||||||||||||||||||||||||||
| IBM API Connect for GraphQL | ||||||||||||||||||||||||||||||||
| Build GraphQL APIs for all your data in a declarative way. Federate across any data source, including GraphQL. |
|
|
||||||||||||||||||||||||||||||
