Packages

@theguild/federation-composition

0.27.2 · 19 Nov 2026MIT2M / weekRepositoryHomepagenpmAtom feed

Your version

0.18.4

17 Jun 2025Where it was published

0.27.2 is the newest release of 0.18.x.

In short

1 new2 fixed

Release note

Patch Changes

  • Resolve usage of @requires FieldSet with a union field selection to raise an EXTERNAL_UNUSED error.

  • Fix incorrectly raised IMPLEMENTED_BY_INACCESSIBLE error 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 @provides fragment 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.