Skip to main content

Interface: TypeMergingOptions<TContext\>

stitch/src.TypeMergingOptions

Type parameters#

NameType
TContextTContext = Record<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:78


fieldConfigMerger#

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

Type declaration#

▸ (candidates): GraphQLFieldConfig<any, any, Object\>

Parameters#
NameType
candidatesMergeFieldConfigCandidate<TContext\>[]
Returns#

GraphQLFieldConfig<any, any, Object\>

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


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


typeDescriptionsMerger#

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

Type declaration#

▸ (candidates): string

Parameters#
NameType
candidatesMergeTypeCandidate<TContext\>[]
Returns#

string

Defined in#

packages/stitch/src/types.ts:75


validationScopes#

Optional validationScopes: Record<string, ValidationSettings\>

Defined in#

packages/stitch/src/types.ts:73


validationSettings#

Optional validationSettings: ValidationSettings

Defined in#

packages/stitch/src/types.ts:72