I am new to graphQL, Apollo etc. Soon I will be working on a low-cost app with 3 (rest-api) datasources and only 1 consumer to create (mainly) a User Type. It's planned to use serverless functions as hosting. I've been reading on schema stitching, federation and modules, but can't find a good answer on why I should use Apollo federation in this small project. As I understand it, you need multiple apollo-servers and will have a higher deploy/serverless cost because of it compared to a monolithic Apollo-server.
A simplified example:
Server 1:
type User {
id: ID!
firstname: String
}
Server 2:
extend type User @key(fields: "id") {
lastname: String
}
Server 3:
extend type User @key(fields: "id") {
email: String
}
Would you suggest me still using Apollo federation or the deprecated schema stitching. Can graphql-modules be a good solution or another plugin?