Docs
API Reference
Interfaces
IStitchSchemasOptions

Interface: IStitchSchemasOptions<TContext>

stitch/src.IStitchSchemasOptions

Type parameters

NameType
TContextRecord<string, any>

Hierarchy

Table of contents

Properties

Properties

allowLegacySDLEmptyFields

Optional allowLegacySDLEmptyFields: boolean

Inherited from

Omit.allowLegacySDLEmptyFields

Defined in

packages/utils/src/Interfaces.ts:95 (opens in a new tab)


allowLegacySDLImplementsInterfaces

Optional allowLegacySDLImplementsInterfaces: boolean

Inherited from

Omit.allowLegacySDLImplementsInterfaces

Defined in

packages/utils/src/Interfaces.ts:96 (opens in a new tab)


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

Inherited from

Omit.assumeValid

Defined in

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


assumeValidSDL

Optional assumeValidSDL: boolean

Set to true to assume the SDL is valid.

Default: false

Inherited from

Omit.assumeValidSDL

Defined in

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


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)

Inherited from

Omit.commentDescriptions

Defined in

packages/utils/src/Interfaces.ts:103 (opens in a new tab)


experimentalFragmentVariables

Optional experimentalFragmentVariables: boolean

Inherited from

Omit.experimentalFragmentVariables

Defined in

packages/utils/src/Interfaces.ts:97 (opens in a new tab)


inheritResolversFromInterfaces

Optional inheritResolversFromInterfaces: boolean

GraphQL object types that implement interfaces will inherit any missing resolvers from their interface types defined in the resolvers object

Inherited from

Omit.inheritResolversFromInterfaces

Defined in

packages/schema/src/types.ts:34 (opens in a new tab)


mergeDirectives

Optional mergeDirectives: boolean

Defined in

packages/stitch/src/types.ts:59 (opens in a new tab)


mergeTypes

Optional mergeTypes: boolean | string[] | MergeTypeFilter<TContext>

Defined in

packages/stitch/src/types.ts:60 (opens in a new tab)


noLocation

Optional noLocation: boolean

Inherited from

Omit.noLocation

Defined in

packages/utils/src/Interfaces.ts:94 (opens in a new tab)


onTypeConflict

Optional onTypeConflict: OnTypeConflict<TContext>

Defined in

packages/stitch/src/types.ts:58 (opens in a new tab)


resolverValidationOptions

Optional resolverValidationOptions: IResolverValidationOptions

Additional options for validating the provided resolvers

Inherited from

Omit.resolverValidationOptions

Defined in

packages/schema/src/types.ts:29 (opens in a new tab)


resolvers

Optional resolvers: IResolvers<any, TContext> | IResolvers<any, TContext>[]

Object describing the field resolvers for the provided type definitions

Inherited from

Omit.resolvers

Defined in

packages/schema/src/types.ts:25 (opens in a new tab)


schemaExtensions

Optional schemaExtensions: SchemaExtensions | SchemaExtensions[]

Schema extensions

Inherited from

Omit.schemaExtensions

Defined in

packages/schema/src/types.ts:42 (opens in a new tab)


subschemaConfigTransforms

Optional subschemaConfigTransforms: SubschemaConfigTransform<TContext>[]

Defined in

packages/stitch/src/types.ts:62 (opens in a new tab)


subschemas

Optional subschemas: (GraphQLSchema | SubschemaConfig<any, any, any, TContext>)[]

Defined in

packages/stitch/src/types.ts:55 (opens in a new tab)


typeDefs

Optional typeDefs: TypeSource

Defined in

packages/stitch/src/types.ts:56 (opens in a new tab)


typeMergingOptions

Optional typeMergingOptions: TypeMergingOptions<TContext>

Defined in

packages/stitch/src/types.ts:61 (opens in a new tab)


types

Optional types: GraphQLNamedType[]

Defined in

packages/stitch/src/types.ts:57 (opens in a new tab)


updateResolversInPlace

Optional updateResolversInPlace: boolean

Do not create a schema again and use the one from buildASTSchema

Inherited from

Omit.updateResolversInPlace

Defined in

packages/schema/src/types.ts:38 (opens in a new tab)