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
{{ message }}
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
I have an interface type in Graph 1 and an interfaceObject in Graph 2 matching each other (let's say interface A). When a query initiated from graph 2 referencing object from graph 1 with reference resolver, graph 1 will throw exception The apollo gateway tries to resolve an entity for which no EntityResolver method was found even though I have defined the reference resolver in the interface type in Graph 1
hi @dariuszkuc , sorry I won't be able to provide the github as that's currently under private corporate account, but I debug through it and found issue happens here
where the EntitiesResolver only looks for resolvers in ObjectType, but I have an ReferenceResolver defined in a InterfaceType class, which should be supported in Federation 2.0, hope this makes sense
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have an interface type in Graph 1 and an interfaceObject in Graph 2 matching each other (let's say interface A). When a query initiated from graph 2 referencing object from graph 1 with reference resolver, graph 1 will throw exception
The apollo gateway tries to resolve an entity for which no EntityResolver method was found
even though I have defined the reference resolver in the interface type in Graph 1Updates:
It looks like EntitiesResolver only tries to locate resolver from ObjectType, but by definition here https://www.apollographql.com/docs/federation/federated-types/interfaces#interface-reference-resolver , resolvers can also be defined in interface type
The text was updated successfully, but these errors were encountered: