Intended outcome: I want to use mergeSchemas to merge a remote and a local schema. I expect this piece of code to work: const schema = mergeSchemas({ schemas: [localSchema, remoteSchema ]});. Based on the Apollo docs.
Actual outcome: TypeScript error: Property 'resolvers' is missing in type '{ schemas: GraphQLSchema[]; }'.'
How to reproduce the issue: Create two executable schemas using makeExecutableSchema and merge.
So it seems https://github.com/apollographql/graphql-tools/blob/master/src/stitching/mergeSchemas.ts#L79 needs to be resolvers?
I'd say so.
Fixed, I'll release later today.
Most helpful comment
Fixed, I'll release later today.