This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Description
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),
}),
}),
)