Function: parseSilk()

parseSilk<TSilk>(silk, input): MayPromise<StandardResult<InferOutput<TSilk>>>

Validate and transform input to output

Type Parameters

TSilk extends GraphQLSilk<any, any>

Parameters

silk: TSilk

silk GraphQL Silk

input: InferInput<TSilk>

Returns

MayPromise<StandardResult<InferOutput<TSilk>>>

output

Defined in

packages/core/src/resolver/silk.ts:165