Documentation
API Reference
Interfaces
GetStitchingOptionsFromSupergraphSdlOpts

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:101


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:109


batchingOptions

Optional batchingOptions: BatchingOptions<any, any, any>

Configure the query batching options for all subschemas.

Defined in

packages/federation/src/supergraph.ts:105


httpExecutorOpts

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

Defined in

packages/federation/src/supergraph.ts:91


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:95


onSubschemaConfig

Optional onSubschemaConfig: (subschemaConfig: FederationSubschemaConfig) => void

Type declaration

▸ (subschemaConfig): void

Parameters
NameType
subschemaConfigFederationSubschemaConfig
Returns

void

Defined in

packages/federation/src/supergraph.ts:94


supergraphSdl

supergraphSdl: string | DocumentNode

Defined in

packages/federation/src/supergraph.ts:90