Extract routes from hono definition
Hi everyone, i want to extract all the routes from hono definition for example :
How is it possible ?
I want to make a function that take a typesafe parameter that will be the route
and when i call the function fn, there will be autocompletion and i can have these possible options :
I'm fighting with
Thanks.
How is it possible ?
I want to make a function that take a typesafe parameter that will be the route
and when i call the function fn, there will be autocompletion and i can have these possible options :
/api/transactions /api/transactions/all /api/transactions/:id etc ...I'm fighting with
ExtractSchema utility type but I don't achive my goalThanks.