Packages

@graphql-tools/delegate

12.3.4 · 12 Nov 2026MIT15.8M / weekRepositorynpmAtom feed

Your version

10.2.13

14 Feb 2025Where it was published

10.2.23 is the newest release of 10.x.

In short

1 fixed

Release note

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

Patch Changes

  • When a field with @skip and @include directives in a selection set throws, show the correct error

    // Query
    query myQuery($toInclude: Boolean! = false) {
        user(id: 1) {
            id
            name
            username
            totalReviews @include(if: $toInclude)
            # If this throws, show the actual error instead of `Argument \"if\" of required type \"Boolean!\" was provided the variable` error
        }
    }
    
    // Variables
    {
        "toInclude": true
    }

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.