Patch Changes
-
Fix bug in the handling of dependencies of subgraph fetches. This bug was manifesting itself as an assertion error (#2622)
thrown during query planning with a message of the formRoot groups X should have no remaining groups unhandled (...)
. -
Fix issues in code to reuse named fragments. One of the fixed issue would manifest as an assertion error with a message (#2619)
looking likeCannot add fragment of condition X (...) to parent type Y (...)
. Another would manifest itself by
generating an invalid subgraph fetch where a field conflicts with another version of that field that is in a reused
named fragment. -
Fix query planner heuristic that could lead to ignoring some valid option and yielding a non-optimal query plan. (#2623)
-
Updated dependencies [
62e0d254
,7f1ef73e
,2a97f372
]:- @apollo/federation-internals@2.4.8
- @apollo/query-graphs@2.4.8