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
)
Type parameters
Name | Type |
---|---|
K | any |
V | any |
C | K |
TContext | Record <string , any > |
Parameters
Name | Type |
---|---|
config | SubschemaConfig <K , V , C , TContext > |
Defined in
packages/delegate/src/Subschema.ts:32 (opens in a new tab)
Properties
batch
• Optional
batch: boolean
Implementation of
ISubschema.batch
Defined in
packages/delegate/src/Subschema.ts:23 (opens in a new tab)
batchingOptions
• Optional
batchingOptions: BatchingOptions
<K
, V
, C
>
Implementation of
ISubschema.batchingOptions
Defined in
packages/delegate/src/Subschema.ts:24 (opens in a new tab)
createProxyingResolver
• Optional
createProxyingResolver: CreateProxyingResolverFn
<TContext
>
Implementation of
ISubschema.createProxyingResolver
Defined in
packages/delegate/src/Subschema.ts:26 (opens in a new tab)
executor
• Optional
executor: Executor
<TContext
, Record
<string
, any
>>
Implementation of
ISubschema.executor
Defined in
packages/delegate/src/Subschema.ts:22 (opens in a new tab)
merge
• Optional
merge: Record
<string
, MergedTypeConfig
<any
, any
, TContext
>>
Implementation of
ISubschema.merge
Defined in
packages/delegate/src/Subschema.ts:30 (opens in a new tab)
schema
• schema: GraphQLSchema
Implementation of
ISubschema.schema
Defined in
packages/delegate/src/Subschema.ts:20 (opens in a new tab)
transforms
• transforms: Transform
<any
, TContext
>[]
Implementation of
ISubschema.transforms
Defined in
packages/delegate/src/Subschema.ts:27 (opens in a new tab)
Accessors
transformedSchema
• get
transformedSchema(): GraphQLSchema
Returns
GraphQLSchema
Implementation of
ISubschema.transformedSchema
Defined in
packages/delegate/src/Subschema.ts:45 (opens in a new tab)
• set
transformedSchema(value
): void
Parameters
Name | Type |
---|---|
value | GraphQLSchema |
Returns
void
Implementation of
ISubschema.transformedSchema