@theguild/federation-composition
0.27.2 · 19 Nov 2026MIT2M / weekRepositoryHomepagenpmAtom feed
0.27.2 is the newest release of 0.18.x.
In short
1 new2 fixed
Release note
Patch Changes
Resolve usage of
@requiresFieldSetwith a union field selection to raise anEXTERNAL_UNUSEDerror.Fix incorrectly raised
IMPLEMENTED_BY_INACCESSIBLEerror for inaccessible object fields where the object type is inaccessible.For example the following subgraph, will no longer result in the error
Field B.id is @inaccessible but implements the interface field Node.id, which is in the API schema..schema @link(url: "https://specs.apollo.dev/federation/v2.9", import: ["@tag"]) { query: Query } type Query { b(id: ID! @federation__inaccessible): B @federation__inaccessible a(id: ID!): A } type B implements Node @federation__inaccessible { id: ID! @federation__inaccessible } type A implements Node { id: ID! } interface Node { id: ID! }Add support for
@providesfragment selection sets on union type fields.type Query { media: [Media] @shareable @provides(fields: "... on Book { title }") } union Media = Book | Movie
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.