graphql-tools-monorepo / delegate/src / Subschema
Class: Subschema<K, V, C, TContext>
delegate/src.Subschema
Type parameters
| Name | Type |
|---|---|
K | any |
V | any |
C | K |
TContext | Record<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
| Name | Type |
|---|---|
K | any |
V | any |
C | K |
TContext | Record<string, any> |
Parameters
| Name | Type |
|---|---|
config | SubschemaConfig<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
| Name | Type |
|---|---|
value | GraphQLSchema |
Returns
void
Implementation of
ISubschema.transformedSchema