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
The text was updated successfully, but these errors were encountered:
endroca
changed the title
problem with entities with multiple @keys - yoga + federation
problem with entities with multiple @keys: yoga + federation
Jul 16, 2024
Describe the bug
When adding multiple @key directives, the gateway stops making requests to the second subgraph.
When the second @key directive is added, the gateway no longer knows it should go to subgraph 2, resulting in a GraphQL non-null field error.
Your Example Website or App
https://github.com/endroca/yoga-issue-federation
Steps to Reproduce the Bug or Issue
Run app 1.js 2.js and gateway.mjs
Expected behavior
It was expected that the gateway would go to subgraph 1 and then to subgraph 2, but it only goes to subgraph 1 and returns the error
Screenshots or Videos
No response
Platform
linux
Additional context
No response
The text was updated successfully, but these errors were encountered: