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/defaultGraphQLConnection.ts:163

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