Skip to main content

transformGraphQLConnectionArgumentsWithWhere

API Docs


Function: transformGraphQLConnectionArgumentsWithWhere()

transformGraphQLConnectionArgumentsWithWhere<Arg, _Where>(arg, ctx): object & Omit<Arg, "first" | "last" | "before" | "after"> & object

Defined in: src/utilities/graphqlConnection/transforms.ts:89

Transform function for connection arguments with a where clause. Extends the base transformation with where handling.

Type Parameters​

Arg​

Arg extends object & object

_Where​

_Where = Arg["where"]

Parameters​

arg​

Arg

The arguments to transform

ctx​

$RefinementCtx

The Zod refinement context

Returns​

  • The transformed arguments with where clause