Trouble with Type Safety in Hono Zod Validation Middleware
I’ve been working on implementing a validation middleware in Hono using Zod and @hono/zod-validator
. Here’s the code snippet of the middleware:
I’ve been working on implementing a validation middleware in Hono using Zod and @hono/zod-validator
. Here’s the code snippet of the middleware: