Open warpech opened 5 years ago
JSONPatcherProxy should observe changes to that object as usual, i.e. with the same behavior as in the initial object.
Some traps are set twice, also the replacement of the proxified object is detected as a replace operation.
I have an idea how to solve it using Symbol instead of Map. I am preparing a fix for that.
Symbol
Map
Steps to reproduce
Expected result
JSONPatcherProxy should observe changes to that object as usual, i.e. with the same behavior as in the initial object.
Actual result
Some traps are set twice, also the replacement of the proxified object is detected as a replace operation.
I have an idea how to solve it using
Symbol
instead ofMap
. I am preparing a fix for that.