Henrik Klee

Results 35 comments of Henrik Klee

The issue was here: ```ts createRoute({ path: "/{id}", method: "get", request: { params: z.object({ id: z.number().int().positive(), //

@marceloverdijk Even `coerce` breaks type inference: What seems to be working as a workaround is this: ```ts params: z.object({ id: z .string() .transform((v) => Number.parseInt(v)) .refine((v) => !Number.isNaN(v) && v...

hi @marceloverdijk I'm using VS Code. Are you using the Hono client? My inference chain looks like this (in this example for the `Customer` type): 1. Define Drizzle schema 2....

> @stabildev ¿are you using nextjs? Yes

As I said, I am not using server actions (at all)