NightFuries
How to separate code into files for each handler without loosing the hono RPC typesafety?
I'm doing exactly the same thing. I don't really care if the single auth routes file is going over 400+ lines of code,
If you still want to separate out the routes within the auth "module", you could:
Disclaimer I haven't actually tested if it works, but that seems to be the most logical way in my head. LMK if it actually worked.
2 replies