@theguild/federation-composition
0.27.2 · 19 Nov 2026MIT2M / weekRepositoryHomepagenpmAtom feed
0.27.2 is the newest release of 0.18.x.
In short
2 fixed
Release note
Patch Changes
Fix issue where the satisfiability check raised an exception for fields that share different object type and interface definitions across subgraphs.
Fix issue where scalar type marked with
@inaccessibledoes not fail the composition if all usages are not marked with@inaccessible.Composing the following subgraphs resulted in an invalid supergraph instead of failing the composition.
# Subgraph A extend schema @link( url: "https://specs.apollo.dev/federation/v2.9" import: ["@inaccessible"] ) type Query { a: Foo } scalar Foo# Subgraph B extend schema @link( url: "https://specs.apollo.dev/federation/v2.9" import: ["@inaccessible"] ) type Query { b: String } scalar Foo @inaccessibleNow it correctly raises a composition error with the message
Type "Foo" is @inaccessible but is referenced by "Query.a", which is in the API schema..
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.