Packages

@graphql-tools/stitch

10.4.4 · 12 Nov 2026MIT546k / weekRepositorynpmAtom feed

Your version

10.0.2

23 Sep 2025Where it was published

10.4.4 is the newest release of 10.x.

In short

1 fixed

Release note

The section about @graphql-tools/stitch of a note shared by several packages.

Patch Changes

  • Normalize the subschemas with root types in a custom names like query_root instead of Query, then stitch them

    schema {
        query: query_root
        subscription: subscription_root
    }
    
    type Post {
        id: ID!
        text: String
        userId: ID!
    }
    
    type query_root {
        postById(id: ID!): Post
    }
    
    type subscription_root {
        postsByUserId(userId: ID!): [Post]!
    }

    and

    type User {
        id: ID!
        email: String
    }
    
    type Query {
        userById(id: ID!): User
    }

    should be stitched as;

    type Query {
      postById(id: ID!): Post
      userById(id: ID!): User
    }
    
    type Subscription {
      postsByUserId(userId: ID!): [Post]!
    }
    
    type Post {
      id: ID!
      text: String
      userId: ID!
    }
    
    type User {
      id: ID!
      email: String
    }

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.