zod-openapi infering route handler type from route handler
I've been trying for two hours to create a type helper for the route handler so I can extract it to its own file, but I can't figure out why the valid property is not working.
I saw cj using it in his syntax hono introduction
https://youtu.be/sYZW8TK2IV4?si=iCCHBmv7vA88Phya
I saw cj using it in his syntax hono introduction
https://youtu.be/sYZW8TK2IV4?si=iCCHBmv7vA88Phya




YouTubeSyntax
In this video CJ introduces Hono, a web application framework for building backend applications with JavaScript. He shows 5+ reasons why hono is great and why you should try using it in your next app.
00:00 Intro
00:26 Familiar Route Creation
01:12 Type Safety
01:50 Supports Every JS Runtime
02:26 Many Built-in Helpers / Middlewares
03:40 JSX S...
00:00 Intro
00:26 Familiar Route Creation
01:12 Type Safety
01:50 Supports Every JS Runtime
02:26 Many Built-in Helpers / Middlewares
03:40 JSX S...
