Skip to content
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

Merged
merged 7 commits into from
Sep 28, 2018
Merged

Bug with reserved words #24

merged 7 commits into from
Sep 28, 2018

Conversation

Jontem
Copy link
Contributor

@Jontem Jontem commented Sep 28, 2018

No description provided.

@coveralls
Copy link

coveralls commented Sep 28, 2018

Coverage Status

Coverage remained the same at 90.536% when pulling aef94c6 on bug-with-reserved-words into 2317234 on master.

@@ -86,12 +86,12 @@ export function denormalize(
responseObjectOrNewParentArray =
(parentObjectOrArray as MutableResponseObjectArray)[
parentResponseKey as number
] || {};
] || Object.create(null);
Copy link
Contributor Author

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.

Copy link
Contributor Author

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

@Jontem
Copy link
Contributor Author

Jontem commented Sep 28, 2018

@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.

@Jontem Jontem merged commit 6040168 into master Sep 28, 2018
@jonaskello jonaskello deleted the bug-with-reserved-words branch July 21, 2019 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants