Federation/Microservices Support #863
Labels
scope/schema
Related to the schema component
scope/server
Related to the server component
type/feat
Add a new capability or enhance an existing one
Related: graphql-nexus/nexus#148
Perceived Problem
If you don't know what microservices are: https://microservices.io/
Currently, a Nexus server can only be easily implemented as a monolith. This can cause issues for large scale deployments with many teams working on the code. By using a microservices-based architecture, teams can work independently on their own server, package it as a container, and deploy it along with many other "microservices" (servers) to form a complete API. There are many other benefits to microservices (and some drawbacks), see the link above for more details.
Tools like Apollo Federation allow multiple graphql servers to be stiched together to expose a single graph that functions like a monolith server. This makes it really easy to create a microservices-based api.
Ideas / Proposed Solution(s)
Support the Apollo Federation specification or create a new specification that allows multiple nexus servers to be stitched together to expose a single graph.
I really love the code-first approach of Nexus and the great Prisma 2 integration, but Apollo Federation is just too good to give up. I really hope I'll be able to use Nexus one day, keep up the great work with this project!
The text was updated successfully, but these errors were encountered: