You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now we use some kind of patched Apollo federation mechanism to unite all schemas from resource group and load the result schema to Gateway. But actually, it isn't real federation of graphql services because we have only one. If we will have another one we won't be able to add it using standard Apollo federation mechanism without major changes.
The major issue that custom type-system directives aren't supported in schema federation. So the patch handles it and the code is a bit complex.
Now we use some kind of patched Apollo federation mechanism to unite all schemas from resource group and load the result schema to Gateway. But actually, it isn't real federation of graphql services because we have only one. If we will have another one we won't be able to add it using standard Apollo federation mechanism without major changes.
The major issue that custom type-system directives aren't supported in schema federation. So the patch handles it and the code is a bit complex.
We can use schema merging mechanism from graphql-tools.
Code example:
Here is the whole file.
The text was updated successfully, but these errors were encountered: