Function: asInputArgs()

asInputArgs<TInput>(): AsObjectTypeMetadata<TInput>

Creates a GraphQL object type metadata only for input args.

Type Parameters

TInput extends object

Returns

AsObjectTypeMetadata<TInput>

A GraphQL object type metadata.

Defined in

packages/valibot/src/metadata.ts:265