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

Patch Changes

  • Allow passing print options to the compose method to impact how the supergraph is printed, and adds new printing (#2042)
    options to order all elements of the schema.

  • Fix potential bug when an @interfaceObject type has a @requires. When an @interfaceObject type has a field with a (#2524)
    @requires and the query requests that field only for some specific implementations of the corresponding interface,
    then the generated query plan was sometimes invalid and could result in an invalid query to a subgraph (against a
    subgraph that rely on @apollo/subgraph, this lead the subgraph to produce an error message looking like "The _entities resolver tried to load an entity for type X, but no object or interface type of that name was found in the schema").

Don't miss a new federation release

NewReleases is sending notifications on new releases.