releases.shpreview
Apollo GraphQL/Apollo Federation/@apollo/composition@2.11.5

@apollo/composition@2.11.5

$npx -y @buildinternet/releases show rel_z0Cgy9ZmITSLgPg9ZIpUx

Patch Changes

  • Fixed access control verification of transitive requirements (through @requires and/or @fromContext) to ensure it works with chains of transitive dependencies. (#3333)

  • Allow interface object fields to specify access control (#3333)

    Update composition logic to allow specifying access control directives (@authenticated, @requiresScopes and @policy) on @interfaceObject fields. While we disallow access control on interface types and fields, we decided to support it on @interfaceObject as it is a useful pattern to define a single resolver (that may need access controls) for common interface fields. Alternative would require our users to explicitly define resolvers for all implementations which defeats the purpose of @interfaceObject.

    This PR refactors in how we propagate access control by providing additional merge sources when merging directives on interfaces, interface fields and object fields.

  • Updated dependencies [e1c58611c3c996b4fff98a54e49f00549ff2115d, 3e2d1fd315db54a089fedf131cfaa27792bdd049]:

    • @apollo/federation-internals@2.11.5
    • @apollo/query-graphs@2.11.5

Fetched April 11, 2026