Interface: CallableInputParser()<TSchema>

Type Parameters

TSchema extends InputSchema<GraphQLSilk>

CallableInputParser(): Promise<StandardResult<InferInputO<TSchema, GraphQLSilkIO>>>

Parse the input and return the

Returns

Promise<StandardResult<InferInputO<TSchema, GraphQLSilkIO>>>

Defined in

packages/core/src/resolver/input.ts:68

Properties

result

result: undefined | StandardResult<InferInputO<TSchema, GraphQLSilkIO>>

Result of parsing. Set it to undefined then the parser will run again.

Defined in

packages/core/src/resolver/input.ts:73


schema

schema: TSchema

input schema

Defined in

packages/core/src/resolver/input.ts:58


value

value: InferInputI<TSchema, GraphQLSilkIO>

Origin value to parse

Defined in

packages/core/src/resolver/input.ts:63