DEV Community

Discussion on: Getting Started with Apollo Federation and Gateway

Collapse
 
pmirandaarias profile image
Paulo Miranda

Very nice and helpfull article. A question Mandi, it's mandatory to use apollo/gateway? I have a monorepo project with Lerna with different packages, and I want to use gql files from different packages, but not all of them will run as a services with endpoints

Collapse
 
mandiwise profile image
Mandi Wise

I'm not sure I have a clear understanding of the question, but you do need to use @apollo/gateway to declaratively compose your implementing services together. However, you don't need to use @apollo/federation to create your implementing services. Apollo lists third-party support for creating federated GraphQL schemas here: apollographql.com/docs/apollo-serv...