Ayoub
Ayoub
HHono
Created by Ayoub on 2/9/2025 in #help
Extract routes from hono definition
for caching and manually invalidate cache http responses
8 replies
HHono
Created by Ayoub on 2/9/2025 in #help
Extract routes from hono definition
no I already use the RPC client for my frontend but what I want now is a specific use case in my backend but I found the solution :
type Routes = ExtractSchema<typeof app>;

const fn = (route: keyof Routes) => {};
type Routes = ExtractSchema<typeof app>;

const fn = (route: keyof Routes) => {};
8 replies