Federation lets many independently deployed services each own part of one graph, which a gateway composes into a single schema clients query. It is the modern replacement for schema stitching, where a gateway manually merged remote schemas — federation moves the merge rules into the subgraphs themselves.
The architecture
┌────────────────────────┐
Client ─────▶ │ Gateway / Router │ (composed supergraph)
└───────┬────────┬───────┘
│ │ plans + fans out sub-queries
┌──────────▼──┐ ┌──▼──────────┐ ┌──────────────┐
│ Users svc │ │ Reviews svc │ │ Products svc │
│ type User │ │ extends │ │ type Product│
│ @key(id) │ │ User/Prod │ │ @key(id) │
└──────────────┘ └─────────────┘ └──────────────┘
