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
This is a concern I would like to bring up. There doesn't seem to be a way to stop recursive Linked Messages. This would be useful during development and troubleshooting, especially on applications with many text to render, it would be nice to see which Key it failed on.
In Chrome Dev Tools it would hit a [Vue warn]: Error in render function: "InternalError: too much recursion" error.
A suggestion would be to keep track of the processed Linked Message Keys and if it encounters it again, to log a detailed error on which Key it suspected. Any other solution is welcome!
Thank You!
vue & vue-i18n version
"vue": "^2.4.4",
"vue-i18n": "^7.3.2"
Steps to reproduce enca.json
{
"introMessage": "Welcome @:firstName, Thank you for considering the @:desiredProduct. We are here to help!",
"firstName": "Elon @:introMessage"
}
What is Expected? {{ $t("introMessage") }} shouldn't enter an infinite loop and log a detailed error of which Key was being processed again.
What is actually happening?
Browser hits this error [Vue warn]: Error in render function: "InternalError: too much recursion"
The text was updated successfully, but these errors were encountered:
Hello,
This is a concern I would like to bring up. There doesn't seem to be a way to stop recursive Linked Messages. This would be useful during development and troubleshooting, especially on applications with many text to render, it would be nice to see which Key it failed on.
In Chrome Dev Tools it would hit a
[Vue warn]: Error in render function: "InternalError: too much recursion"
error.A suggestion would be to keep track of the processed Linked Message Keys and if it encounters it again, to log a detailed error on which Key it suspected. Any other solution is welcome!
Thank You!
vue & vue-i18n version
Steps to reproduce
enca.json
What is Expected?
{{ $t("introMessage") }}
shouldn't enter an infinite loop and log a detailed error of which Key was being processed again.What is actually happening?
Browser hits this error
[Vue warn]: Error in render function: "InternalError: too much recursion"
The text was updated successfully, but these errors were encountered: