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
hi! I'm transferring this over to the federation repository, where our planner work is happening. We will look into this issue, but it might take some time to get back to you on this
abernix
changed the title
QUERY_PLANNING_FAILED related to multiple @key directives
Ordering of @key directives causing different behaviors and planning failure
Apr 22, 2024
Hello!
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Subgraph 1
Subgraph 2
Subgraph 3
Expected behavior
Router comes back with a working plan
Additional context
Composed the supergraph with rover v0.23.0
I tested it with Apollo Router version 1.43.0
I found two workarounds:
@key(fields: "id")
to theProduct
types in subgraph 2 and 3@key(fields: "uid")
in front of theid
one on subgraph 1Thank you so much for your work!
The text was updated successfully, but these errors were encountered: