Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
API Reference
Packages
loaders-code-file

@graphql-tools/code-file-loader

Classes

Type Aliases

Type Aliases

CodeFileLoaderConfig

Ƭ CodeFileLoaderConfig: Object

Type declaration

NameTypeDescription
noPluck?boolean-
noRequire?boolean-
noSilentErrors?booleanSet to true to raise errors if any matched files are not valid GraphQL
pluckConfig?GraphQLTagPluckOptions-

Defined in

packages/loaders/code-file/src/index.ts:27


CodeFileLoaderOptions

Ƭ CodeFileLoaderOptions: { require?: string | string[] } & CodeFileLoaderConfig & BaseLoaderOptions

Additional options for loading from a code file

Defined in

packages/loaders/code-file/src/index.ts:41