github apollographql/federation @apollo/query-planner@2.5.2

latest releases: @apollo/subgraph@2.10.0-alpha.3, @apollo/query-planner@2.10.0-alpha.3, @apollo/query-graphs@2.10.0-alpha.3...
15 months ago

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

Don't miss a new federation release

NewReleases is sending notifications on new releases.