loaders_github_src.githubloaderoptions

Interface: GithubLoaderOptions#

loaders/github/src.GithubLoaderOptions

Additional options for loading from GitHub

Hierarchy#

Table of contents#

Properties#

Properties#

allowLegacySDLEmptyFields#

Optional allowLegacySDLEmptyFields: boolean

Defined in: packages/utils/src/Interfaces.ts:78


allowLegacySDLImplementsInterfaces#

Optional allowLegacySDLImplementsInterfaces: boolean

Defined in: packages/utils/src/Interfaces.ts:79


assumeValid#

Optional assumeValid: boolean

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

Defined in: node_modules/graphql/type/schema.d.ts:122


assumeValidSDL#

Optional assumeValidSDL: boolean

Set to true to assume the SDL is valid.

Default: false

Defined in: node_modules/graphql/utilities/buildASTSchema.d.ts:22


commentDescriptions#

Optional commentDescriptions: boolean

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)

Defined in: packages/utils/src/Interfaces.ts:86


cwd#

Optional cwd: string

Defined in: packages/utils/src/loaders.ts:15


experimentalFragmentVariables#

Optional experimentalFragmentVariables: boolean

Defined in: packages/utils/src/Interfaces.ts:80


noLocation#

Optional noLocation: boolean

Defined in: packages/utils/src/Interfaces.ts:77


pluckConfig#

Optional pluckConfig: GraphQLTagPluckOptions

Additional options to pass to graphql-tag-pluck

Defined in: packages/loaders/github/src/index.ts:37


token#

token: string

A GitHub access token

Defined in: packages/loaders/github/src/index.ts:33