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
In your code of build schema, you generate code with GraphQLSchema directly.
In the apollo official guide, they suggest build schema with buildFederatedSchema. In this function, it transforms schema and adds relative directives.
Could you help me that how to set up the apollo federation?
The text was updated successfully, but these errors were encountered:
Hi @LucienLee , i've never used federated schemas myself, but it would seem that you're not the only one wondering how to build one from an existing schema, there is an open pull request which would make buildFederatedSchema accept GraphQLSchema as argument.
If you cannot wait for this to be merged, I would suggest to explore this pull request and check if you can mimic its behaviour to convert an existing schema to something that buildFederatedSchema accepts.
In your code of build schema, you generate code with
GraphQLSchema
directly.In the apollo official guide, they suggest build schema with
buildFederatedSchema
. In this function, it transforms schema and adds relative directives.Could you help me that how to set up the apollo federation?
The text was updated successfully, but these errors were encountered: