Documentation
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:37

Properties

batch

Optional batch: boolean

Implementation of

ISubschema.batch

Defined in

packages/delegate/src/Subschema.ts:28


batchingOptions

Optional batchingOptions: BatchingOptions<K, V, C>

Implementation of

ISubschema.batchingOptions

Defined in

packages/delegate/src/Subschema.ts:29


createProxyingResolver

Optional createProxyingResolver: CreateProxyingResolverFn<TContext>

Implementation of

ISubschema.createProxyingResolver

Defined in

packages/delegate/src/Subschema.ts:31


executor

Optional executor: Executor<TContext>

Implementation of

ISubschema.executor

Defined in

packages/delegate/src/Subschema.ts:27


merge

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

Implementation of

ISubschema.merge

Defined in

packages/delegate/src/Subschema.ts:35


name

Optional name: string

Implementation of

ISubschema.name

Defined in

packages/delegate/src/Subschema.ts:24


schema

schema: GraphQLSchema

Implementation of

ISubschema.schema

Defined in

packages/delegate/src/Subschema.ts:25


transforms

transforms: Transform<any, TContext>[]

Implementation of

ISubschema.transforms

Defined in

packages/delegate/src/Subschema.ts:32

Accessors

transformedSchema

get transformedSchema(): GraphQLSchema

Returns

GraphQLSchema

Implementation of

ISubschema.transformedSchema

Defined in

packages/delegate/src/Subschema.ts:51

set transformedSchema(value): void

Parameters

NameType
valueGraphQLSchema

Returns

void

Implementation of

ISubschema.transformedSchema

Defined in

packages/delegate/src/Subschema.ts:61