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

Results 14 go-patch issues
Sort by recently updated
recently updated
newest added

There are some pretty valuable use cases for have a move/copy functionality, primarily when you want to re-arrange nested objects. For example, suppose you have a yaml file like a...

discuss
v2

We would find it useful to be able to apply a `replace` pattern to all elements in an array. For example: ```yaml - type: replace path: /instance_groups/*/vm_extensions?/- value: foo ```...

v2

This PR is in two parts. The first part (first commit) refactors the `{find,replace,remove}_op.go` code so that the logic that descends lives with the individual token types which are split...

It would be lovely if I could append multiple items in a single operation. It can become a bit unwieldily writing it many times. ``` - type: replace path: /releases/-...