zenika-open-source / immutadot

immutadot is a JavaScript library to deal with nested immutable structures.
https://immutadot.zenika.com
MIT License
178 stars 5 forks source link

Add unset operation to navigators #305

Closed nlepage closed 5 years ago

nlepage commented 6 years ago

I'm not sure how to do this.

The behavior is almost the same as update, except the updater is not necessary...

Maybe add an unset method on the navigators, and have FinalNav's unset return a special value (Symbol ?) in order to trigger the delete in the previous nav...