DocumentationAPI ReferenceInterfacesGetStitchingOptionsFromSupergraphSdlOpts

graphql-tools-monorepo / federation/src / GetStitchingOptionsFromSupergraphSdlOpts

Interface: GetStitchingOptionsFromSupergraphSdlOpts

federation/src.GetStitchingOptionsFromSupergraphSdlOpts

Hierarchy

Table of contents

Properties

Properties

batch

Optional batch: boolean

Enable query batching for all subschemas.

Default

false

Defined in

packages/federation/src/supergraph.ts:105


batchDelegateOptions

Optional batchDelegateOptions: Options<any, any, any>

Configure the batch delegation options for all merged types in all subschemas.

Defined in

packages/federation/src/supergraph.ts:113


batchingOptions

Optional batchingOptions: BatchingOptions<any, any, any>

Configure the query batching options for all subschemas.

Defined in

packages/federation/src/supergraph.ts:109


httpExecutorOpts

Optional httpExecutorOpts: Partial<HTTPExecutorOptions> | (subgraphInfo: { endpoint?: string ; name: string }) => Partial<HTTPExecutorOptions>

Defined in

packages/federation/src/supergraph.ts:94


onMergedTypeConfig

Optional onMergedTypeConfig: (typeName: string, mergedTypeConfig: MergedTypeConfig<any, any, Record<string, any>>) => void

Type declaration

▸ (typeName, mergedTypeConfig): void

Parameters
NameType
typeNamestring
mergedTypeConfigMergedTypeConfig<any, any, Record<string, any>>
Returns

void

Defined in

packages/federation/src/supergraph.ts:98


onSubgraphAST

Optional onSubgraphAST: (name: string, subgraphAST: DocumentNode) => DocumentNode

Type declaration

▸ (name, subgraphAST): DocumentNode

Parameters
NameType
namestring
subgraphASTDocumentNode
Returns

DocumentNode

Defined in

packages/federation/src/supergraph.ts:99


onSubschemaConfig

Optional onSubschemaConfig: (subschemaConfig: FederationSubschemaConfig) => void

Type declaration

▸ (subschemaConfig): void

Parameters
NameType
subschemaConfigFederationSubschemaConfig
Returns

void

Defined in

packages/federation/src/supergraph.ts:97


supergraphSdl

supergraphSdl: string | DocumentNode

Defined in

packages/federation/src/supergraph.ts:93