Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
API Reference
Packages
stitching-directives

@graphql-tools/stitching-directives

Interfaces

Type Aliases

Functions

Type Aliases

StitchingDirectivesFinalOptions

Ƭ StitchingDirectivesFinalOptions: Complete<StitchingDirectivesOptions>

Defined in

packages/stitching-directives/src/types.ts:40


VariablePaths

Ƭ VariablePaths: Record<string, (string | number)[]>

Defined in

packages/stitching-directives/src/types.ts:23

Functions

federationToStitchingSDL

federationToStitchingSDL(federationSDL, stitchingConfig?): string

Parameters

NameType
federationSDLstring
stitchingConfigStitchingDirectivesResult

Returns

string

Defined in

packages/stitching-directives/src/federationToStitchingSDL.ts:54


stitchingDirectives

stitchingDirectives(options?): StitchingDirectivesResult

Parameters

NameType
optionsStitchingDirectivesOptions

Returns

StitchingDirectivesResult

Defined in

packages/stitching-directives/src/stitchingDirectives.ts:30