-
Notifications
You must be signed in to change notification settings - Fork 7.1k
_.invert() throws an error on a specific JSON object #3260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks @radekk! |
@jdalton Thanks John for fixing this issue. How should I install this fix through
But it's not generating the |
It'll be in v5 (whenever that's released). |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
JSFiddle: https://jsfiddle.net/mem9e9r9/
Error: TypeError: Cannot convert object to primitive value
Description:
It seems like
invert()
function is triggering an error when converting json object withbuiltin -> toString
property present. I tried with standard JSON files and it does work properly.It fails to run
_.invert()
on this JSON object:The text was updated successfully, but these errors were encountered: