• Docs
  • API Reference
  • Classes
  • 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)

Type parameters

NameType
Kany
Vany
CK
TContextRecord<string, any>

Parameters

NameType
configSubschemaConfig<K, V, C, TContext>

Defined in

packages/delegate/src/Subschema.ts:32

Properties

batch

Optional batch: boolean

Implementation of

ISubschema.batch

Defined in

packages/delegate/src/Subschema.ts:23


batchingOptions

Optional batchingOptions: BatchingOptions<K, V, C>

Implementation of

ISubschema.batchingOptions

Defined in

packages/delegate/src/Subschema.ts:24


createProxyingResolver

Optional createProxyingResolver: CreateProxyingResolverFn<TContext>

Implementation of

ISubschema.createProxyingResolver

Defined in

packages/delegate/src/Subschema.ts:26


executor

Optional executor: Executor<TContext, Record<string, any>>

Implementation of

ISubschema.executor

Defined in

packages/delegate/src/Subschema.ts:22


merge

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

Implementation of

ISubschema.merge

Defined in

packages/delegate/src/Subschema.ts:30


schema

schema: GraphQLSchema

Implementation of

ISubschema.schema

Defined in

packages/delegate/src/Subschema.ts:20


transforms

transforms: Transform<any, TContext>[]

Implementation of

ISubschema.transforms

Defined in

packages/delegate/src/Subschema.ts:27

Accessors

transformedSchema

get transformedSchema(): GraphQLSchema

Returns

GraphQLSchema

Implementation of

ISubschema.transformedSchema

Defined in

packages/delegate/src/Subschema.ts:45

set transformedSchema(value): void

Parameters

NameType
valueGraphQLSchema

Returns

void

Implementation of

ISubschema.transformedSchema

Defined in

packages/delegate/src/Subschema.ts:53