-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fix array comparison #13
Conversation
Also uses edit distance to generate optimal seq for simple arrays. Fixes #1
* Append edit distance operations from end to start * Tests patches from src->dst and dst->src using github.com/evanphx/json-patch * Fix Null test case
Anyone interested in this fix, consider using our fork https://github.com/appscode/jsonpatch |
|
||
type JsonPatchOperation struct { | ||
type Operation struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tamalsaha Why changing the name?
Controller-runtime is considering switching to use appscode
's fork.
But it can be a problem for the existing users due to the breaking change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure what can we do in our fork. Will adding a type alias help?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added the type alias to 1.0.0 release.
xref: mattbaird#13 (comment) Signed-off-by: Tamal Saha <[email protected]>
xref: mattbaird#13 (comment) Signed-off-by: Tamal Saha <[email protected]>
Hey everyone :) ! |
@maeglindeveloper , I maintain a fork here https://github.com/gomodules/jsonpatch/tree/release-2.0 . Feel free to use that. Thanks! |
Also uses edit distance to generate optimal seq for simple arrays.
Fixes #7