Documentation
API Reference
Interfaces
IStitchSchemasOptions

graphql-tools-monorepo / stitch/src / 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


allowLegacySDLImplementsInterfaces

Optional allowLegacySDLImplementsInterfaces: boolean

Inherited from

Omit.allowLegacySDLImplementsInterfaces

Defined in

packages/utils/src/Interfaces.ts:96


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


defaultFieldResolver

Optional defaultFieldResolver: GraphQLFieldResolver<any, TContext>

Default field resolver

Inherited from

Omit.defaultFieldResolver

Defined in

packages/schema/src/types.ts:48


experimentalFragmentVariables

Optional experimentalFragmentVariables: boolean

Inherited from

Omit.experimentalFragmentVariables

Defined in

packages/utils/src/Interfaces.ts:97


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:36


mergeDirectives

Optional mergeDirectives: boolean

Defined in

packages/stitch/src/types.ts:59


mergeTypes

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

Defined in

packages/stitch/src/types.ts:60


noLocation

Optional noLocation: boolean

Inherited from

Omit.noLocation

Defined in

packages/utils/src/Interfaces.ts:94


onTypeConflict

Optional onTypeConflict: OnTypeConflict<TContext>

Defined in

packages/stitch/src/types.ts:58


resolverValidationOptions

Optional resolverValidationOptions: IResolverValidationOptions

Additional options for validating the provided resolvers

Inherited from

Omit.resolverValidationOptions

Defined in

packages/schema/src/types.ts:31


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:27


schemaExtensions

Optional schemaExtensions: SchemaExtensions | SchemaExtensions[]

Schema extensions

Inherited from

Omit.schemaExtensions

Defined in

packages/schema/src/types.ts:44


subschemaConfigTransforms

Optional subschemaConfigTransforms: SubschemaConfigTransform<TContext>[]

Defined in

packages/stitch/src/types.ts:62


subschemas

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

Defined in

packages/stitch/src/types.ts:55


typeDefs

Optional typeDefs: TypeSource

Defined in

packages/stitch/src/types.ts:56


typeMergingOptions

Optional typeMergingOptions: TypeMergingOptions<TContext>

Defined in

packages/stitch/src/types.ts:61


types

Optional types: GraphQLNamedType[]

Defined in

packages/stitch/src/types.ts:57


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:40