Interface: JsonFileLoaderOptions
Defined in: packages/loaders/json-file/src/index.ts:23
Additional options for loading from a JSON file
Extends
Properties
allowLegacySDLEmptyFields?
optionalallowLegacySDLEmptyFields?:boolean
Defined in: packages/utils/src/Interfaces.ts:141
Inherited from
BaseLoaderOptions.allowLegacySDLEmptyFields
allowLegacySDLImplementsInterfaces?
optionalallowLegacySDLImplementsInterfaces?:boolean
Defined in: packages/utils/src/Interfaces.ts:142
Inherited from
BaseLoaderOptions.allowLegacySDLImplementsInterfaces
assumeValid?
optionalassumeValid?:boolean
Defined in: node_modules/graphql/type/schema.d.mts:612
Internal
When building a schema from a GraphQL service’s introspection result, it might be safe to assume the schema is valid. Set to true to assume the produced schema is valid.
Default: false
Inherited from
BaseLoaderOptions.assumeValid
assumeValidSDL?
optionalassumeValidSDL?:boolean
Defined in: node_modules/graphql/utilities/buildASTSchema.d.mts:14
Set to true to assume the SDL is valid.
Default: false
Inherited from
BaseLoaderOptions.assumeValidSDL
commentDescriptions?
optionalcommentDescriptions?:boolean
Defined in: packages/utils/src/Interfaces.ts:149
Set to true in order to convert all GraphQL comments (marked with # sign) to descriptions (""")
GraphQL has built-in support for transforming descriptions to comments (with print), but not while
parsing. Turning the flag on will support the other way as well (parse)
Inherited from
BaseLoaderOptions.commentDescriptions
cwd?
optionalcwd?:string
Defined in: packages/utils/src/loaders.ts:13
Inherited from
BaseLoaderOptions.cwd
experimentalFragmentVariables?
optionalexperimentalFragmentVariables?:boolean
Defined in: packages/utils/src/Interfaces.ts:143
Inherited from
BaseLoaderOptions.experimentalFragmentVariables
ignore?
optionalignore?:string|string[]
Defined in: packages/utils/src/loaders.ts:14
Inherited from
BaseLoaderOptions.ignore
includeSources?
optionalincludeSources?:boolean
Defined in: packages/utils/src/loaders.ts:15
Inherited from
BaseLoaderOptions.includeSources
noLocation?
optionalnoLocation?:boolean
Defined in: packages/utils/src/Interfaces.ts:140
Inherited from
BaseLoaderOptions.noLocation