FieldCompiler<Result, Source, Context, Args, Info>
Type Parameters
| Type Parameter |
|---|
|
|
|
|
|
|
|
|
|
|
Constructors
Constructor
new FieldCompiler<
Result,Source,Context,Args,Info>(options):FieldCompiler<Result,Source,Context,Args,Info>
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
FieldCompiler<Result, Source, Context, Args, Info>
Accessors
field
Get Signature
get field():
string
Returns
string
type
Get Signature
get type():
string
Returns
string
Methods
addInitialMiddleware()
addInitialMiddleware(
middleware):void
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
void
addMiddleware()
addMiddleware(
middleware):void
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
void
build()
build(
typeMiddlewares):GraphQLFieldResolver<Source,Context,Args,Result|PromiseLike<Result>>
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
GraphQLFieldResolver<Source, Context, Args, Result | PromiseLike<Result>>
useStore()
useStore<
T>(key):object
Type Parameters
| Type Parameter |
|---|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
object
| Name | Type |
|---|---|
|
|
() => |
|
|
( |