3 ms·
So the way we've currently been doing this at work is that we have a few different services that each maintain a portion of the One Graph that fits within their
by AlecAivazis 8y ago
So the way we've currently been doing this at work is that we have a few different services that each maintain a portion of the One Graph that fits within their domain. The different APIs get merged together in a specialized service that understands the full picture.
The old way required a lot of manual work to pull in the different service schemas and do the stitching by hand. Luckily the team at Apollo and others are working on a new approach that automates a lot of the old work.
Shameless plug: I wrote a blog post that goes into some detail about what this can actually look like if you want to see more: https://medium.com/@aaivazis/a-guide-to-graphql-schema-federation-part-1-995b639ac035 https://medium.com/@aaivazis/a-guide-to-graphql-schema-feder...