Skip to Content
GraphQL Tools
DocumentationAPILoadersapollo-enginesrcinterfacesApolloEngineOptions

Interface: ApolloEngineOptions

Defined in: packages/loaders/apollo-engine/src/index.ts:8

Additional options for loading from Apollo Engine

Extends

Properties

allowLegacySDLEmptyFields?

optional allowLegacySDLEmptyFields?: boolean

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

Inherited from

BaseLoaderOptions.allowLegacySDLEmptyFields


allowLegacySDLImplementsInterfaces?

optional allowLegacySDLImplementsInterfaces?: boolean

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

Inherited from

BaseLoaderOptions.allowLegacySDLImplementsInterfaces


assumeValid?

optional assumeValid?: boolean

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

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?

optional assumeValidSDL?: boolean

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

Set to true to assume the SDL is valid.

Default: false

Inherited from

BaseLoaderOptions.assumeValidSDL


commentDescriptions?

optional commentDescriptions?: boolean

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

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?

optional cwd?: string

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

Inherited from

BaseLoaderOptions.cwd


engine

engine: object

Defined in: packages/loaders/apollo-engine/src/index.ts:9

apiKey

apiKey: string

endpoint?

optional endpoint?: string


experimentalFragmentVariables?

optional experimentalFragmentVariables?: boolean

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

Inherited from

BaseLoaderOptions.experimentalFragmentVariables


graph

graph: string

Defined in: packages/loaders/apollo-engine/src/index.ts:13


headers?

optional headers?: Record<string, string>

Defined in: packages/loaders/apollo-engine/src/index.ts:15


ignore?

optional ignore?: string | string[]

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

Inherited from

BaseLoaderOptions.ignore


includeSources?

optional includeSources?: boolean

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

Inherited from

BaseLoaderOptions.includeSources


noLocation?

optional noLocation?: boolean

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

Inherited from

BaseLoaderOptions.noLocation


variant

variant: string

Defined in: packages/loaders/apollo-engine/src/index.ts:14