github apollographql/federation @apollo/query-graphs@2.6.2

Patch Changes

  • fix: handle directive conditions on fragments when building query graphs (#2875)

    This fix addresses issues with handling fragments when they specify directive conditions:

    • when exploding the types we were not propagating directive conditions
    • when processing fragment that specifies super type of an existing type and also specifies directive condition, we were incorrectly preserving the unnecessary type condition. This type condition was problematic as it could be referencing types from supergraph that were not available in the local schema. Instead, we now drop the redundant type condition and only preserve the directives (if specified).
  • Updated dependencies [7b5b836d15247c997712a47847f603aa5887312e, 74ca7dd617927a20d79b824851f7651ef3c40a4e]:

    • @apollo/federation-internals@2.6.2

Don't miss a new federation release

NewReleases is sending notifications on new releases.