Skip to content

fix bad JSON patch usage #258

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

Merged
merged 1 commit into from
Dec 21, 2020
Merged

fix bad JSON patch usage #258

merged 1 commit into from
Dec 21, 2020

Conversation

rmorshea
Copy link
Collaborator

@rmorshea rmorshea commented Dec 21, 2020

Fixes: #256

We were not considering the fact that we need to add the
patch prefix to the "from" key in a "mode" operation. To
solve this we decide to apply the patch in-place at the
given path. This is both faster and simpler.

We were not considering the fact that we need to add the
patch prefix to the "from" key in a "mode" operation. To
solve this we decide to apply the patch inplace at the
given path. This is both faster and simpler.
@rmorshea rmorshea merged commit 310e749 into main Dec 21, 2020
@rmorshea rmorshea deleted the fix-256 branch December 21, 2020 22:25
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.

Path prefix not added to "move" operation in JSON patch
1 participant