-
Notifications
You must be signed in to change notification settings - Fork 263
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
Bug: setData()
incorrectly sets object prototype methods as keys
#2257
Labels
Comments
6 tasks
Hi @MetRonnie Interesting. You're probably right that this is a regression from #2166 Would you like to open a PR to fix this? We would gladly review and merge it. |
1 task
I'm afraid I don't have a lot of time on my hands |
No worries, maybe someone will pick it up. |
I'll create a PR for that issue during next days. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Using
setData()
with an object is causing Object prototype methods to be set as keys on the object.To Reproduce
Stackblitz isn't loading for me. But here is hopefully a clear example:
Expected behavior
Object prototype methods should not be set as keys on objects.
Related information:
Additional context
I think this was introduced by #2166
The text was updated successfully, but these errors were encountered: