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
The code in this example is generated using io-ts-codegen.
This code is used to decode forms that are shown to the user to be filled using angular components.
Your environment
Which versions of io-ts are affected by this issue?
🐛 Bug report
Current Behavior
RangeError: Maximum call stack size exceeded
Expected behavior
No error
Reproducible example
https://stackblitz.com/edit/typescript-3kmxjd
Suggested solution(s)
Memoisation, Tail Call Optimisation, Trampolining
https://blog.logrocket.com/using-trampolines-to-manage-large-recursive-loops-in-javascript-d8c9db095ae3/
Additional context
The code in this example is generated using io-ts-codegen.
This code is used to decode forms that are shown to the user to be filled using angular components.
Your environment
Which versions of io-ts are affected by this issue?
[email protected]
Did this work in previous versions of io-ts?
Not as far as I know.
The text was updated successfully, but these errors were encountered: