Documentation
API Reference
Interfaces
GetStitchedSchemaFromSupergraphSdlOpts

graphql-tools-monorepo / federation/src / GetStitchedSchemaFromSupergraphSdlOpts

Interface: GetStitchedSchemaFromSupergraphSdlOpts

federation/src.GetStitchedSchemaFromSupergraphSdlOpts

Hierarchy

Table of contents

Properties

Methods

Properties

batch

Optional batch: boolean

Inherited from

GetStitchingOptionsFromSupergraphSdlOpts.batch

Defined in

packages/federation/src/supergraph.ts:91


httpExecutorOpts

Optional httpExecutorOpts: Partial<HTTPExecutorOptions>

Inherited from

GetStitchingOptionsFromSupergraphSdlOpts.httpExecutorOpts

Defined in

packages/federation/src/supergraph.ts:89


onSubschemaConfig

Optional onSubschemaConfig: (subschemaConfig: FederationSubschemaConfig) => void

Type declaration

▸ (subschemaConfig): void

Parameters
NameType
subschemaConfigFederationSubschemaConfig
Returns

void

Inherited from

GetStitchingOptionsFromSupergraphSdlOpts.onSubschemaConfig

Defined in

packages/federation/src/supergraph.ts:90


supergraphSdl

supergraphSdl: string | DocumentNode

Overrides

GetStitchingOptionsFromSupergraphSdlOpts.supergraphSdl

Defined in

packages/federation/src/supergraph.ts:1162

Methods

onStitchingOptions

onStitchingOptions(opts): void

Parameters

NameTypeDefault value
optsObjectundefined
opts.assumeValidbooleantrue
opts.assumeValidSDLbooleantrue
opts.subschemasSubschemaConfig<any, any, any, Record<string, any>>[]undefined
opts.typeDefsDocumentNodeadditionalTypeDefs
opts.typeMergingOptionsObjectundefined
opts.typeMergingOptions.fieldConfigMerger(candidates: MergeFieldConfigCandidate<Record<string, any>>[]) => GraphQLFieldConfig<any, Record<string, any>, any>undefined
opts.typeMergingOptions.useNonNullableFieldOnConflictbooleantrue
opts.typeMergingOptions.validationSettingsObjectundefined
opts.typeMergingOptions.validationSettings.validationLevelValidationLevelValidationLevel.Off

Returns

void

Defined in

packages/federation/src/supergraph.ts:1163