-
Notifications
You must be signed in to change notification settings - Fork 32
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
exchange position but result asymmetry! #11
Comments
any one help? |
Hi ascoders, the diff function is not a symetrical operation, the produced patch operations are relative to the first object. If you could create a test case, I'll have a look into the issue. |
hi pedroteixeira, thanks for your help, here is the test case:
and you will see this: the second output is correct, i think the first output should like this: [ { op: 'remove', |
hello |
Occurs when complex objects
json1:
json2:
and run:
here is the result:
The second is correct
The text was updated successfully, but these errors were encountered: