Hi, nested object in input for GET method not working.
Example:
getAll: protectedProcedure
.meta({
openapi: {
method: "GET",
path: "/something/get-all",
protect: true,
},
})
.input(
z.object({
pagination: z.object({ // <--- Error: Input parser key: "pagination" must be ZodString, ZodNumber, ZodBoolean, ZodBigInt or ZodDate
page: z.number().int().positive().default(1),
limit: z.number().int().positive().default(10),
}),
}),
)
Hi, nested object in input for
GETmethod not working.Example: