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
Details is missing in the router's representations because we failed to find the "enabled" field while selecting the relevant values in the selection set within the null items. We should use Value::Null in the array's item and keep processing them.
related to #3972Fix#3983Fix#4052
This rewrites the `@requires` selection code to better align with the gateway, and try to fill in the `__typename` if the information is missing
Steps to reproduce:
Run this query:
Against a router with the schema pasted below.
The router will send a first query to SUB1:
Provide a response that has
null
elements in the details list:Check the second subgraph request being made:
Expected (which is done in the gateway):
Actual (in the router):
Details is missing in the router's representations because we failed to find the "enabled" field while selecting the relevant values in the selection set within the null items. We should use
Value::Null
in the array's item and keep processing them.Schema for reference:
The text was updated successfully, but these errors were encountered: