github apollographql/federation @apollo/federation-internals@2.4.1

latest releases: @apollo/query-graphs@2.9.0-connectors.7, @apollo/subgraph@2.9.0-connectors.7, @apollo/federation-internals@2.9.0-connectors.7...
15 months ago

Patch Changes

  • Fix issues (incorrectly rejected composition and/or subgraph errors) with @interfaceObject. Those issues may occur (#2494)
    either due to some use of @requires in an @interfaceObject type, or when some subgraph S defines a type that is an
    implementation of an interface I in the supergraph, and there is an @interfaceObject for I in another subgraph,
    but S does not itself defines I.

  • Fix assertion error during query planning in some cases where queries has some unsatisfiable branches (a part of the (#2486)
    query goes through type conditions that no runtime types satisfies).

  • Start building packages with TS 5.x, which should have no effect on consumers (#2480)

  • Improves reuse of named fragments in subgraph fetches. When a question has named fragments, the code tries to reuse (#2497)
    those fragment in subgraph fetches is those can apply (so when the fragment is fully queried in a single subgraph fetch).
    However, the existing was only able to reuse those fragment in a small subset of cases. This change makes it much more
    likely that if a fragment can be reused, it will be.

Don't miss a new federation release

NewReleases is sending notifications on new releases.