Skip to content

Migrating from Apollo Federation #2746

Answered by gmac
dobrynin asked this question in Q&A
Mar 19, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Hi @dobrynin!

Good question. There’s lots of ways you could approach this. The main constraint here is that subscription types need a direct link to the gateway so that we can proxy service > gateway > client. Otherwise, everything else can do what you want.

A naive approach would be to take the Federation gateway as it exists and stitch it together with the subscription types filtered out of their respective subservice schemas. This leaves a lot of what you already have in tact, but is really messy and adds a middle proxy layer of stitching > federation > subservice.

The simpler approach is almost certainly just to pull out the federation gateway and stitch the subservices directly. Then…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@dobrynin
Comment options

@gmac
Comment options

@dobrynin
Comment options

@gmac
Comment options

@gmac
Comment options

Answer selected by ardatan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants