Note:
The type lives in https://github.com/apollographql/apollo-tooling but this error is specific to using Apollo Server w/ Federation.
- ❗️ Bug?
This is the right place! 😄
Before reporting a bug, please check for existing or closed issues
first and read the instructions for filing a bug report:
https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md#reporting-bugs
This bug report should include:
apollo-graphql
As always occurred, tested on 0.4.1
I should be able to type a __resolveReference function as GraphQLReferenceResolver and have it work with GraphQLResolverMap.
TS error as GraphQLReferenceResolver is not a compatible with GraphQLResolverMap under fieldName.
Link to code inside of apollo-tooling:
https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo-graphql/src/schema/resolverMap.ts
Note:
The type lives in
https://github.com/apollographql/apollo-toolingbut this error is specific to using Apollo Server w/ Federation.This is the right place! 😄
Before reporting a bug, please check for existing or closed issues
first and read the instructions for filing a bug report:
https://github.com/apollographql/apollo-server/blob/master/CONTRIBUTING.md#reporting-bugs
This bug report should include:
apollo-graphqlAs always occurred, tested on 0.4.1
I should be able to type a
__resolveReferencefunction asGraphQLReferenceResolverand have it work withGraphQLResolverMap.TS error as
GraphQLReferenceResolveris not a compatible withGraphQLResolverMapunderfieldName.Please make a GitHub repository that anyone can clone and run and see the
problem. Other great ways to demonstrate a reproduction are using our
CodeSandbox template (https://codesandbox.io/s/apollo-server), or re-mixing
our Glitch template (https://glitch.com/~apollo-launchpad).
-->
Link to code inside of
apollo-tooling:https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo-graphql/src/schema/resolverMap.ts