GraphQL API gateway, which stitched together the SpaceX GraphQL API, and a generated GraphQL API from a local MongoDB database, allowing us to create an app that records which launches we attended. This use case was a demonstration of how powerful GraphQL gateways can be for a client’s developer experience.
Without this gateway, the client would have needed to query two APIs separately. Instead, GraphQL Mesh helped us quickly generate basic CRUD operations we could perform on our Mongo Database, making our app have user-specific features.
https://blog.logrocket.com/improve-microservice-architecture-graphql-api-gateways/
Benefits
● Solving the over and under-fetching problem
● More flexible with schema and type system
● Quick response time
● Protocol agnostic
Drawbacks
● Increase complexity
● Caching problems
https://medium.com/@mena.meseha/practice-of-graphql-in-microservice-architecture-e8f2d698f93b