Hacker News new | ask | show | jobs
by ilrwbwrkhv 416 days ago
Not very good. The type safety thing doesn't work well when you are using it across different folders.
2 comments

what do you mean by across different folders here? I was thinking about using elysiajs so this seems important
I would reconsider using Elysia. I was also very excited by it and I thought it would be great but it has got errors and issues with different library versions and things like that. Also the whole Eden thing doesn't work for me for whatever reason. I have a monorepo. Typescript keeps complaining. Also if everything is defined in a single file, then it works well. If it's in different files, it breaks the whole type side of things.
Huh? It works fine across different modules. It helps to read the documentation thoroughly. I don't mean that to sound snarky, but it's likely you missed something if you're not able to modularize your route types.