Function: yupSilk()

yupSilk(schema)

yupSilk<TSchema>(schema): TSchema & GraphQLSilk<InferType<TSchema>, InferType<TSchema>>

get GraphQL Silk from Yup Schema

Type Parameters

TSchema extends Schema<any, any, any, any>

Parameters

schema: TSchema

Yup Schema

Returns

TSchema & GraphQLSilk<InferType<TSchema>, InferType<TSchema>>

GraphQL Silk Like Yup Schema

Defined in

packages/yup/src/index.ts:331

yupSilk(silk)

yupSilk<TSilk>(silk): TSilk

get GraphQL Silk from Yup Schema

Type Parameters

TSilk extends GraphQLSilk<any, any>

Parameters

silk: TSilk

GraphQL Silk

Returns

TSilk

GraphQL Silk

Defined in

packages/yup/src/index.ts:340