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 maintains a portion of the schema, and the Gateway merges them into a single graph for the client.
Key principles include declarative graph construction, separation of code by concern rather than type, and maintaining a simple product-centric graph for clients.
Note: Federation currently does not support subscriptions.