Lean and mean Javascript implementation of the JSON-Patch standard (RFC 6902). Update JSON documents using delta patches.
1.78k
stars
215
forks
source link
applying a replace patch is inconsistent with path="" and path="/" #319
Open
shashank1010 opened 9 months ago
https://stackblitz.com/edit/diff-apply-patch-replace-not-working
When performing a replace operation operation path with "/" and "", there are different inconsistent behaviours. However, it causes other issues.
I've demonstrated examples for two cases in which we can reliably reproduce
replace
operation issues