-
Notifications
You must be signed in to change notification settings - Fork 3
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 with reserved words #24
Conversation
@@ -86,12 +86,12 @@ export function denormalize( | |||
responseObjectOrNewParentArray = | |||
(parentObjectOrArray as MutableResponseObjectArray)[ | |||
parentResponseKey as number | |||
] || {}; | |||
] || Object.create(null); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because some keys in the prototype readonly we need to use an object without the default prototype chain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be the same problem in normalize
@jonaskello I will do a release to fix some problems in my application. If you have something it's a small change easy to revert. |
No description provided.