jsonpatch icon indicating copy to clipboard operation
jsonpatch copied to clipboard

reverse array when remove multi groups from array

Open cwdsuzhou opened this issue 4 years ago • 0 comments

See this issue I opened in https://github.com/evanphx/json-patch/issues/106 and the PR https://github.com/evanphx/json-patch/pull/107

I used this library(CreatePatch) to crate a jsonPath for K8s webhook. When the K8s internal logics apply the patch, we meet invalid index.

This PR reverses the order when when should remove multi items.

cwdsuzhou avatar Apr 23 '21 03:04 cwdsuzhou