Documentation
Data Layers
vs. GraphQL Federation

GraphQL Federation vs. Data layers

At its core, GraphQL Federation composes a central GraphQL API from many different underlying microservices that all expose GraphQL.

In practice, this falls short because it forces backend engineers to have to learn GraphQL and then build an API that matches user needs — even though that's not how they think about their data and they don't benefit from it.

Data layers are a better solution because they have the people that benefit from the work (frontend & mobile teams that want GraphQL) do the work themselves in the way that they need to, while backend engineers can keep exposing the resource-based APIs that they know and love.