Closed dbuarque closed 8 years ago
Version 0.0.4-betax should support that. There were some issues in 0.0.3 with that.
We just added support for using Map as a base for state also. That wasn't possible before, and should have been. Sorry about that.
I recommend also using a merger function that replaces List in stead of merging them. Because a general functionality of immutable is that a merge of a List, will add but NOT remove items. And that's not behaviour you generally want in a state merge.
I just noticed that when you run npm install, a wrong version of immutable may be installed (3.7.6) in stead of the correct one (3.8.1). This may lead to exceptions when merging. I filed an issue with immutablejs about this. In the meantime, you should verify if you have the correct version in your node_modules directory
Currently, I am manually copying immutable until this is fixed
We have the following deep merge scenario.
The data structure get merged but some mutations are made wrong in the deep level
As a normalizr-immutable user, I would like to merge deeply and be able to use all Map functions as well.