Type instantiation is excessively deep and possibly infinite. #2380
-
Hey! I have a large application using hono and I'm running into a problem with types. In the In the I also managed to compare the difference between Hono and Elysia |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @RomanNabukhotnyi ! Thanks for using Hono. This problem is caused by the large number of routes. Elysia supports many routes, I'll see if I can improve Hono as well. |
Beta Was this translation helpful? Give feedback.
-
I've added fix #2412, and the performance has improved a little. Then, it does not throw the error in your app: But there is still improvement to be made as the |
Beta Was this translation helpful? Give feedback.
Hi @RomanNabukhotnyi
I've added fix #2412, and the performance has improved a little. Then, it does not throw the error in your app:
But there is still improvement to be made as the
hc
function is not yet smart enough!