graphql-tools-monorepo / stitch/src / TypeMergingOptions
Interface: TypeMergingOptions<TContext>
stitch/src.TypeMergingOptions
Type parameters
Name | Type |
---|---|
TContext | Record <string , any > |
Table of contents
Properties
- enumValueConfigMerger
- fieldConfigMerger
- inputFieldConfigMerger
- typeCandidateMerger
- typeDescriptionsMerger
- validationScopes
- validationSettings
Properties
enumValueConfigMerger
• Optional
enumValueConfigMerger: (candidates
: MergeEnumValueConfigCandidate
<TContext
>[]) => GraphQLEnumValueConfig
Type declaration
▸ (candidates
): GraphQLEnumValueConfig
Parameters
Name | Type |
---|---|
candidates | MergeEnumValueConfigCandidate <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
Name | Type |
---|---|
candidates | MergeFieldConfigCandidate <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
Name | Type |
---|---|
candidates | MergeInputFieldConfigCandidate <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
Name | Type |
---|---|
candidates | MergeTypeCandidate <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
Name | Type |
---|---|
candidates | MergeTypeCandidate <TContext >[] |
Returns
Maybe
<string
>
Defined in
packages/stitch/src/types.ts:75
validationScopes
• Optional
validationScopes: Record
<string
, ValidationSettings
>
Defined in
packages/stitch/src/types.ts:71
validationSettings
• Optional
validationSettings: ValidationSettings