Skip to content

Added support for arrays at the root#15

Merged
tamalsaha merged 2 commits intogomodules:masterfrom
e-nikolov:master2
Jun 25, 2019
Merged

Added support for arrays at the root#15
tamalsaha merged 2 commits intogomodules:masterfrom
e-nikolov:master2

Conversation

@e-nikolov
Copy link

@e-nikolov e-nikolov commented May 17, 2019

Currently it is possible to create json patches for arrays if they are nested inside an object, but not if they are at the root of the json, e.g. currently it's not possible to generate a json patch for:

[{"asdf":"qwerty"}] -> [{"asdf":"bla"},{"qwerty":"zzz"}]

@tamalsaha
Copy link

Thanks @e-nikolov !

@tamalsaha tamalsaha merged commit 8751bc1 into gomodules:master Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants