Documentation
API Reference
Interfaces
TypeMergingOptions

graphql-tools-monorepo / stitch/src / TypeMergingOptions

Interface: TypeMergingOptions<TContext>

stitch/src.TypeMergingOptions

Type parameters

NameType
TContextRecord<string, any>

Table of contents

Properties

Properties

enumValueConfigMerger

Optional enumValueConfigMerger: (candidates: MergeEnumValueConfigCandidate<TContext>[]) => GraphQLEnumValueConfig

Type declaration

▸ (candidates): GraphQLEnumValueConfig

Parameters
NameType
candidatesMergeEnumValueConfigCandidate<TContext>[]
Returns

GraphQLEnumValueConfig

Defined in

packages/stitch/src/types.ts:82


fieldConfigMerger

Optional fieldConfigMerger: (candidates: MergeFieldConfigCandidate<TContext>[]) => GraphQLFieldConfig<any, TContext, any>

Type declaration

▸ (candidates): GraphQLFieldConfig<any, TContext, any>

Parameters
NameType
candidatesMergeFieldConfigCandidate<TContext>[]
Returns

GraphQLFieldConfig<any, TContext, any>

Defined in

packages/stitch/src/types.ts:76


inputFieldConfigMerger

Optional inputFieldConfigMerger: (candidates: MergeInputFieldConfigCandidate<TContext>[]) => GraphQLInputFieldConfig

Type declaration

▸ (candidates): GraphQLInputFieldConfig

Parameters
NameType
candidatesMergeInputFieldConfigCandidate<TContext>[]
Returns

GraphQLInputFieldConfig

Defined in

packages/stitch/src/types.ts:79


typeCandidateMerger

Optional typeCandidateMerger: (candidates: MergeTypeCandidate<TContext>[]) => MergeTypeCandidate<TContext>

Type declaration

▸ (candidates): MergeTypeCandidate<TContext>

Parameters
NameType
candidatesMergeTypeCandidate<TContext>[]
Returns

MergeTypeCandidate<TContext>

Defined in

packages/stitch/src/types.ts:72


typeDescriptionsMerger

Optional typeDescriptionsMerger: (candidates: MergeTypeCandidate<TContext>[]) => Maybe<string>

Type declaration

▸ (candidates): Maybe<string>

Parameters
NameType
candidatesMergeTypeCandidate<TContext>[]
Returns

Maybe<string>

Defined in

packages/stitch/src/types.ts:75


useNonNullableFieldOnConflict

Optional useNonNullableFieldOnConflict: boolean

Defined in

packages/stitch/src/types.ts:85


validationScopes

Optional validationScopes: Record<string, ValidationSettings>

Defined in

packages/stitch/src/types.ts:71


validationSettings

Optional validationSettings: ValidationSettings

Defined in

packages/stitch/src/types.ts:70