federation VS supergraph-demo

Compare federation vs supergraph-demo and see what are their differences.

federation

🌐  Build and scale a single data graph across multiple services with Apollo's federation gateway. (by apollographql)

supergraph-demo

🍿 Compose subgraphs into a Federation v1 supergraph at build-time with static composition to power a federated graph router at runtime. (by apollographql)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
federation supergraph-demo
3 1
643 133
0.8% 1.5%
9.4 8.7
8 days ago 4 days ago
TypeScript Shell
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

federation

Posts with mentions or reviews of federation. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-29.
  • Apollo Federation Custom Scalars
    1 project | /r/graphql | 9 Apr 2023
    I feel like we ran into this recently at work but not with custom scalars etc. My colleague raised an issue for it. Hope this helps in some way.
  • Apollo Federation Input type union merge
    1 project | /r/graphql | 5 Oct 2022
    as per the Github issue here. However I have trouble understanding this statement. Why can't the gateway pick and choose which input fields are routed to each subgraph? Isn't it the responsibility of the supergraph SDL and the gateway to do exactly this, this same way it does for entities? What limitations are there that make merging input types using the union strategy not viable?
  • The Stack #3
    22 projects | dev.to | 29 Jul 2021
    Federation comes with its own specification and directives as part of it which helps people to define all of the relations between multiple GraphQL entities so that the Apollo Gateway can combine them all together without having to modify the GraphQL gateway and also functions like __resolveReference which helps in resolving an entity with its reference as specified by the directives.

supergraph-demo

Posts with mentions or reviews of supergraph-demo. We have used some of these posts to build our list of alternatives and similar projects.
  • Supergraph composition for Apollo Federation
    1 project | /r/graphql | 11 Jul 2021
    https://github.com/apollographql/supergraph-demo has some docker-based examples to get started: - local supergraph composition - using the new Apollo rover CLI - managed federation - schema checks - CI/CD best practices - using declarative supergraph schemas with Kubernetes and GitOps. - Open Telemetry support

What are some alternatives?

When comparing federation and supergraph-demo you can also consider the following projects:

jaeger - CNCF Jaeger, a Distributed Tracing Platform

cloud-native-starter - Cloud Native Starter for Java/Jakarta EE based Microservices on Kubernetes and Istio

mercurius - Implement GraphQL servers and gateways with Fastify

k8s-gitops - Specify my Kubernetes cluster declaratively

graphql-live-query - Realtime GraphQL Live Queries with JavaScript

router - A configurable, high-performance routing runtime for Apollo Federation 🚀

graphql-editor - 📺 Visual Editor & GraphQL IDE.

k8s-gitops - GitOps principles to define kubernetes cluster state via code

subscriptions-transport-ws - :arrows_clockwise: A WebSocket client + server for GraphQL subscriptions

gitops-catalog - Tools and technologies that are hosted on an OpenShift cluster

insomnia - The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.

schema-stitching - Automatically stitch multiple schemas together into one larger API in a simple, fast and powerful way.