Overview of GraphQL Federation in NestJS
GraphQL Federation allows a monolithic GraphQL server to be split into independent microservices. It consists of a gateway and one or more federated microservices (subgraphs). Each microservice holds a partial schema, and the gateway merges them into a single schema for the client.
Key principles include declarative graph construction, separation of code by concern rather than type, and maintaining a product-centric graph for clients.
Note: Federation currently does not support subscriptions.