-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Vue Plugin Errors #1061
Comments
Can you provide a test example for this? Data is stringified using https://github.com/isaacs/json-stringify-safe which handles cyclic data structures as well. |
Not sure I can at the moment (NDAs and such), but I was passing things that inherited from Vue around as props, if that is helpful. It was reporting that something didn't response to toJSON(). |
This has been fixed in vue 2.5.0 |
Thanks for letting us know @ankurk91! Cheers! :) |
Right now, this code can cause problems:
If vm is null (which happens on occasion for me), or if propsData contain cyclic data structures, it throws an exception during the error handler, which is unfortunate, as both errors don't get reported properly. This is my proposed change:
The text was updated successfully, but these errors were encountered: