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
Note: This issue was first discovered in the query-planner package of the federation repo, and an issue has already been opened there.
When building a query plan for a query that selects fields with @requires conditions on a nested entity type, the router fails, resulting in error Cannot add selection of field \"X\" to selection set of parent type \"Y\". This issue is blocking us from migrating to Router.
The query plan to be successfully built and executed.
Output
Router log:
{"timestamp":"2024-09-15T04:36:25.608204335Z","level":"WARN","message":"an error happened in the worker runtime Cannot add selection of field \"Book.id\" to selection set of parent type \"Book\"\n\n","target":"router_bridge::worker","resource":{"service.name":"unknown_service:router","service.version":"1.54.0","process.executable.name":"router"}}
Desktop (please complete the following information):
OS: Debian 12
Version: 1.54.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Note: This issue was first discovered in the
query-planner
package of thefederation
repo, and an issue has already been opened there.When building a query plan for a query that selects fields with
@requires
conditions on a nested entity type, the router fails, resulting in errorCannot add selection of field \"X\" to selection set of parent type \"Y\"
. This issue is blocking us from migrating to Router.To Reproduce
Expected behavior
The query plan to be successfully built and executed.
Output
Router log:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: