Catch the highlights of GraphQLConf 2023! Click for recordings. Or check out our recap blog post.
Docs
API Reference
Classes
Subschema

graphql-tools-monorepo / delegate/src / Subschema

Class: Subschema<K, V, C, TContext>

delegate/src.Subschema

Type parameters

NameType
Kany
Vany
CK
TContextRecord<string, any>

Implements

  • ISubschema<K, V, C, TContext>

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new Subschema<K, V, C, TContext>(config): Subschema<K, V, C, TContext>

Type parameters

NameType
Kany
Vany
CK
TContextRecord<string, any>

Parameters

NameType
configSubschemaConfig<K, V, C, TContext>

Returns

Subschema<K, V, C, TContext>

Defined in

packages/delegate/src/Subschema.ts:36

Properties

batch

Optional batch: boolean

Implementation of

ISubschema.batch

Defined in

packages/delegate/src/Subschema.ts:27


batchingOptions

Optional batchingOptions: BatchingOptions<K, V, C>

Implementation of

ISubschema.batchingOptions

Defined in

packages/delegate/src/Subschema.ts:28


createProxyingResolver

Optional createProxyingResolver: CreateProxyingResolverFn<TContext>

Implementation of

ISubschema.createProxyingResolver

Defined in

packages/delegate/src/Subschema.ts:30


executor

Optional executor: Executor<TContext>

Implementation of

ISubschema.executor

Defined in

packages/delegate/src/Subschema.ts:26


merge

Optional merge: Record<string, MergedTypeConfig<any, any, TContext>>

Implementation of

ISubschema.merge

Defined in

packages/delegate/src/Subschema.ts:34


schema

schema: GraphQLSchema

Implementation of

ISubschema.schema

Defined in

packages/delegate/src/Subschema.ts:24


transforms

transforms: Transform<any, TContext>[]

Implementation of

ISubschema.transforms

Defined in

packages/delegate/src/Subschema.ts:31

Accessors

transformedSchema

get transformedSchema(): GraphQLSchema

Returns

GraphQLSchema

Implementation of

ISubschema.transformedSchema

Defined in

packages/delegate/src/Subschema.ts:49

set transformedSchema(value): void

Parameters

NameType
valueGraphQLSchema

Returns

void

Implementation of

ISubschema.transformedSchema

Defined in

packages/delegate/src/Subschema.ts:59