GraphQL Federation (Hive)

Schema Stitching manually combines multiple GraphQL schemas through a gateway, requiring
explicit definitions for schema merging and data fetching.

GraphQL federation, however, is an automated approach where independent services (called
subgraphs) define their own schemas and resolvers, which are automatically composed into a unified
schema (supergraph) by a process called schema composition, using special directives to manage
cross-service references, and a gateway to route queries to the appropriate subgraphs.

Read more here: Source link