You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like the typia library. I am also very happy that hono has support for it. However, I experienced a bit of confusion during the development of my hono application. I use vscode to write code and bun to start my hono application. Once I added typia as my data validation tool according to the official website’s guidelines, two problems arose.
Typia employs AOT compilation to precompile typescript, causing the ts files that Bun executes to differ from my original source code. As a result, when I try to debug Hono by setting breakpoints in vscode, I'm unable to investigate the issues as intended, because vscode does not show the code that has been compiled by Typia. In contrast, Bun's built-in web debugger does allow me to view the compiled TS code. I prefer to debug server-side code in VSCode and am curious if there is a resolution to this issue.
After using typia, the watch and hot features in bun have stopped working.
The text was updated successfully, but these errors were encountered:
shlroland
changed the title
[@hono/typia-validator] How to Use the Typia Validator Elegantly in Hono development mode?
[@hono/typia-validator] How to use the typia validator elegantly in Hono development mode?
Oct 12, 2024
I really like the typia library. I am also very happy that hono has support for it. However, I experienced a bit of confusion during the development of my hono application. I use vscode to write code and bun to start my hono application. Once I added typia as my data validation tool according to the official website’s guidelines, two problems arose.
Typia employs AOT compilation to precompile typescript, causing the ts files that Bun executes to differ from my original source code. As a result, when I try to debug Hono by setting breakpoints in vscode, I'm unable to investigate the issues as intended, because vscode does not show the code that has been compiled by Typia. In contrast, Bun's built-in web debugger does allow me to view the compiled TS code. I prefer to debug server-side code in VSCode and am curious if there is a resolution to this issue.
After using typia, the watch and hot features in bun have stopped working.
related to samchon/typia#1305
The text was updated successfully, but these errors were encountered: