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

handle frozen objects when unwrapping stores #54

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Conversation

cafreeman
Copy link
Owner

@cafreeman cafreeman commented Apr 11, 2023

Closes #53

When wrapping frozen objects in stores, we need to shallow copy the object in unwrap otherwise update breaks when it tries to re-wrap the result.

@cafreeman cafreeman merged commit 3229b11 into main Apr 11, 2023
@cafreeman cafreeman deleted the frozen-objects branch April 11, 2023 19:38
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.

createStore and update do not work with frozen objects
1 participant