Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for arrays at the root #15

Merged
merged 2 commits into from
Jun 25, 2019
Merged

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