Provide GraphQLContext
and ResolveInfo
in Federated Entity Resolvers
#2482
Labels
enhancement
A feature or improvement
Firstly just wanted to acknowledge the great work that was done recently to push for Federation 2 support and Federated tracing! 🙏👏
Describe the bug
It seems the GraphQLContext and the ResolveInfo are not injected in the Entity resolver for federated graphs.
Expected behavior/Solution
According to Apollo Documentation (Apollo Server), the Entity resolver should receive few arguments along side the entity representation.
Steps to reproduce
representations
is injected in BatchEntityResolver->_invoke()representations
is injected in EntityResolver->_invoke()Lighthouse Version
latest master branch
The text was updated successfully, but these errors were encountered: