Patch Changes
-
Fix over-eager merging of fields with different directive applications (#2713)
Previously, the following query would incorrectly combine the selection set of
hello
, with both fields ending up under the@skip
condition:query Test($skipField: Boolean!) { hello @skip(if: $skipField) { world } hello { goodbye } }
This change identifies those two selections on
hello
as unique while constructing our operation representation so they aren't merged at all, leaving it to the subgraph to handle the operation as-is. -
Updated dependencies [
35179f08
]:- @apollo/federation-internals@2.5.2
- @apollo/query-graphs@2.5.2