graphql-tools-monorepo / federation/src / GetStitchedSchemaFromSupergraphSdlOpts
Interface: GetStitchedSchemaFromSupergraphSdlOpts
federation/src.GetStitchedSchemaFromSupergraphSdlOpts
Hierarchy
-
GetStitchingOptionsFromSupergraphSdlOpts↳
GetStitchedSchemaFromSupergraphSdlOpts
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
| Name | Type |
|---|---|
subschemaConfig | FederationSubschemaConfig |
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:1145
Methods
onStitchingOptions
▸ onStitchingOptions(opts): void
Parameters
| Name | Type | Default value |
|---|---|---|
opts | Object | undefined |
opts.assumeValid | boolean | true |
opts.assumeValidSDL | boolean | true |
opts.subschemas | SubschemaConfig<any, any, any, Record<string, any>>[] | undefined |
opts.typeDefs | DocumentNode | additionalTypeDefs |
opts.typeMergingOptions | Object | undefined |
opts.typeMergingOptions.fieldConfigMerger | (candidates: MergeFieldConfigCandidate<Record<string, any>>[]) => GraphQLFieldConfig<any, Record<string, any>, any> | undefined |
opts.typeMergingOptions.useNonNullableFieldOnConflict | boolean | true |
opts.typeMergingOptions.validationSettings | Object | undefined |
opts.typeMergingOptions.validationSettings.validationLevel | ValidationLevel | ValidationLevel.Off |
Returns
void