Closed manrueda closed 4 years ago
I was in the need of exclude nested values of an objects, so extend the omit function to work with paths.
It's a heavy function, but does what need to do...
@ManRueda I think this should probably go into the object.builders module.
Then you can use _.snapshot internally and just delete the value at the path.
_.snapshot
delete
I was in the need of exclude nested values of an objects, so extend the omit function to work with paths.
It's a heavy function, but does what need to do...