Packages

@graphql-tools/graphql-file-loader

9.1.2 · 10 Nov 2026MIT13.9M / weekRepositoryHomepagenpmAtom feed

Your version

7.0.0

major28 Jul 2021Where it was published

7.5.17 is the newest release of 7.x.

In short

2 breaking1 fixed1 internal

  • Breaking

    BREAKING CHANGE

  • Breaking

    Loader.canLoad and Loader.canLoadSync can only handle file paths not glob patterns

Release note

Major Changes

  • Breaking

    BREAKING CHANGE

    • Now each loader handles glob patterns internally and returns an array of Source object instead of single Source

    • GraphQL Tag Pluck now respects code locations and returns graphql-js Source objects for each found code block

    • Thanks to the one above, CodeFileLoader now returns different Source objects for each found SDL code block.

  • Breaking

    Loader.canLoad and Loader.canLoadSync can only handle file paths not glob patterns

Patch Changes

  • file-loader: Location path must be normalized

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.