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

fix: extend severeEnablements with immer workaround #1433

Merged
merged 1 commit into from
Jan 8, 2023

Conversation

erights
Copy link
Contributor

@erights erights commented Jan 8, 2023

The Immer library currently provokes the override mistake. immerjs/immer#914 is a PR that would fix it, but this PR has currently been rejected, seemingly committing the Immer library to not fixing is problem. (Appeal at immerjs/immer#914 (comment) )

For compatibility with Immer before immerjs/immer#914 is accepted, this PR extends the severeEnablements to enable all the properties of Map.prototype and Set.prototype to be overridden by assignment.

@Jack-Works , for some reason I cannot add you as a reviewer to this PR. But please consider yourself one. I would appreciate your comments. Thanks.

@erights erights merged commit f072995 into master Jan 8, 2023
@erights erights deleted the markm-overrides-for-broken-immer branch January 8, 2023 06:18
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.

3 participants