@graphql-tools/stitch

Functions#

Variables#

defaultSubschemaConfigTransforms#

Const defaultSubschemaConfigTransforms: SubschemaConfigTransform[]

Defined in: packages/stitch/src/subschemaConfigTransforms/index.ts:4

Functions#

computedDirectiveTransformer#

computedDirectiveTransformer(computedDirectiveName: string): SubschemaConfigTransform

Parameters:#

NameType
computedDirectiveNamestring

Returns: SubschemaConfigTransform

Defined in: packages/stitch/src/subschemaConfigTransforms/computedDirectiveTransformer.ts:6


createMergedTypeResolver#

createMergedTypeResolver(mergedTypeResolverOptions: MergedTypeResolverOptions): MergedTypeResolver

Parameters:#

NameType
mergedTypeResolverOptionsMergedTypeResolverOptions

Returns: MergedTypeResolver

Defined in: packages/stitch/src/createMergedTypeResolver.ts:5


forwardArgsToSelectionSet#

ConstforwardArgsToSelectionSet(selectionSet: string, mapping?: Record<string, string[]\>): (field: FieldNode) => SelectionSetNode

Parameters:#

NameType
selectionSetstring
mapping?Record<string, string[]\>

Returns: function

Defined in: packages/stitch/src/selectionSetArgs.ts:4


isolateComputedFields#

isolateComputedFields(subschemaConfig: SubschemaConfig): SubschemaConfig[]

Parameters:#

NameType
subschemaConfigSubschemaConfig

Returns: SubschemaConfig[]

Defined in: packages/stitch/src/isolateComputedFields.ts:9


stitchSchemas#

stitchSchemas(__namedParameters: IStitchSchemasOptions): GraphQLSchema

Parameters:#

NameType
__namedParametersIStitchSchemasOptions

Returns: GraphQLSchema

Defined in: packages/stitch/src/stitchSchemas.ts:31