graphql-tools-monorepo / federation/src / GetStitchingOptionsFromSupergraphSdlOpts
Interface: GetStitchingOptionsFromSupergraphSdlOpts
federation/src.GetStitchingOptionsFromSupergraphSdlOpts
Hierarchy
-
GetStitchingOptionsFromSupergraphSdlOpts
Table of contents
Properties
- batch
- batchDelegateOptions
- batchingOptions
- httpExecutorOpts
- onMergedTypeConfig
- onSubgraphAST
- onSubschemaConfig
- supergraphSdl
Properties
batch
• Optional batch: boolean
Enable query batching for all subschemas.
Default
falseDefined 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
| Name | Type |
|---|---|
typeName | string |
mergedTypeConfig | MergedTypeConfig<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
| Name | Type |
|---|---|
name | string |
subgraphAST | DocumentNode |
Returns
DocumentNode
Defined in
packages/federation/src/supergraph.ts:99
onSubschemaConfig
• Optional onSubschemaConfig: (subschemaConfig: FederationSubschemaConfig) => void
Type declaration
▸ (subschemaConfig): void
Parameters
| Name | Type |
|---|---|
subschemaConfig | FederationSubschemaConfig |
Returns
void
Defined in
packages/federation/src/supergraph.ts:97
supergraphSdl
• supergraphSdl: string | DocumentNode