profile
viewpoint

Ask questionsTrying to use ApolloFederation..

In trying to use the new ApolloFederation capabilities- It seems like it needs access to the typeDefs and Resolvers object created by the SchemaComposer from graphql-compose.

From here-

https://www.apollographql.com/docs/apollo-server/federation/implementing/

An example of the implementation is - const server = new ApolloServer({ schema: buildFederatedSchema([{ typeDefs, resolvers }]) });

I may have missed it- But does the SchemaComposer have the ability to export those objects for use with this package?

We are also using graphql-compose-mongoose and will have to manually add the __resolveReference methods

graphql-compose/graphql-compose

Answer questions nodkz

@MDrooker need minimal repro case with your problem. Without it very difficult to understand what's wrong.

useful!

Related questions

No questions were found.
Github User Rank List