Closed apatelWU closed 1 week ago
Hi @apatelWU
Please clarify which router you are referring to and which versions you use.
@devsergiy - update the ticket with versions and link to the router
@apatelWU Please update composition and the router to the latest versions as a first step before reporting bugs.
Please kindly try again with the latest versions, and let us know the result.
Thanks!
New versions are working as expected. Thanks!
Description:
I am experiencing an issue with WunderGraph Router where it fails to resolve a key field defined with multiple keys when using
@external
and@provides
across federated subgraphs.Subgraphs:
Subgraph A
Subgraph B
Steps to Reproduce
Query 1 (Works as expected)
This query successfully fetches the
az
field from Subgraph AQuery 2 (Fails to resolve correctly)
This query does not fetch the
ay
field from Subgraph A and incorrectly attempts to resolve it from Subgraph B, despite it being marked as@external
.Expected Behavior
The router should be able to resolve the
ay
field from Subgraph A when queried alongside the other fields, given that at least one key is provided.Version
WGC version: 0.66.0 router version: 0.115.0 (https://github.com/wundergraph/cosmo/releases/tag/router%400.115.0)