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
RemoveData while using ngrx-store-freeze #27
Labels
Comments
I see, thanks for this one. Will have a look at it. |
Hi, we also have the same problem, is there any plans to fix this bug in the near future? |
The same bug applies, when calling AddChildData |
Hi, same problem here. Is this project still alive? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, we are using ngrx-store-freeze to keep our state from mutating accidentally. While active the following line in the REMOVE_DATA reducer throws an error:
delete entities_3[key][id];
. I think what happens is__assign({}, state.entities)
assigns all the entity keys and the entity dictionaries are still frozen. One would probably have to use an approach similar to lodashs .omit(entities[key], [id]).The text was updated successfully, but these errors were encountered: