Closed seddonm1 closed 6 years ago
Hi @seddonm1
Would you by chance have an example of how you'd like to interact with jsonpatch
in creating RFC6902 patches?
Hi,
i was thinking that you would have a CreateMergePatch
method for RFC7396 (existing) and a CreatePatch
method for creating RFC6902 patches?
Hi!
It this planned to be implemented in a near future?
For example, at this moment some parts of Kubernetes apiserver like the admission webhooks only allow RFC6902
patches, that's why this feature would be interesting.
Thank you!
Hi @slok , Thanks for the bump.
Any thoughts @evanphx ?
Honestly, it slipped under my radar and I've forgotten about this. 😞 Oops.
I will take a look this week, and see what it'd take to do this. Unless someone else wants to tackle this, I'll see what I can do.
This is not planned but I'm happy to review a PR on it!
For the people who stumble upon this issue, I wrote a Go library for creating JSON Patch Documents (RFC6902).
You can create patches using Patchwerk and apply them using evanphx/json-patch.
Hi, Is there a plan to create the RFC6902 patches as well as applying them? There are a few libraries floating around and this looks to be the most mature so having a canonical implementation of both 6902 and 7396 would be great.