json-patch icon indicating copy to clipboard operation
json-patch copied to clipboard

Adding Merge to PatchOperation

Open zdcthomas opened this issue 1 year ago • 2 comments

I would like to add a MergeOperation to the PatchOperation type, but I wanted to check here first to see if there was a good reason that hadn't already been done. Thanks!

zdcthomas avatar Jan 31 '24 15:01 zdcthomas

It wasn't added because it is not specified in the RFC 6902.

idubrov avatar Jan 31 '24 15:01 idubrov

gotcha, ok cool, so that wouldn't be a welcome change then? What I'd ultimately like to be able to do is to include a merge with a list of Operations to be patched, but right now there's not an easy way to do that.

zdcthomas avatar Jan 31 '24 15:01 zdcthomas