opendiffy / diffy

Other
1.25k stars 142 forks source link

Unexpected comparison result format #95

Closed aa3pankaj closed 1 year ago

aa3pankaj commented 1 year ago

Sample response: { "message": "Success", "response": { "id": 98758734857, "app": 12, "resource": { "id": 150, "app": null, "label": "Test label", "hfu": { "id": 898, "app": null, "createdDate": null, "lastModifiedDate": null, "name": "test_name", "uuid": null }, "custom": false, "delhuf": false }, "title": "Test title from candidate server", "abcd": "text", "related": [ "ioi" ], "data": null, "functionLabel": "Test", "tcount": null, "type": "UYU", "gby": [], "meas": null, "audy": null, "stpe": null, "slimit": 0, "zin": null, "improvement": null, "isdaternfe": true, "meta": null, "inconfig": null, "metque": null, "fif": { "id": null, "requestResource": null, "resource": null, "updatable": false, "empty": true }, "modified": false, "description": null, "initdat": null, "applyModifiedData": false, "sortConfiguration": null, "pastfore": null, "originalTitle": "Test original title", "uuid": "345345346", "cofn": null, "rol": null, "accessible": true, "hasDel": false, "witype": null, "empwi": false, "syd": null, "asgr": [], "ismod": false, "ughuygegg": false, "deleted": false, "newef": false, "efor": null }, "path": null }

Screenshot 2023-08-29 at 10 49 59 AM

Issue: Unexpected "values" in the "Fields" section instead of actual key names from the response json.

Diffy release (latest): https://github.com/opendiffy/diffy/releases/tag/23.06.19.00

puneetkhanduri commented 1 year ago

This should be fixed with the latest release. Please redeploy and confirm.

aa3pankaj commented 1 year ago

Diffy is showing OrderingDifference for responses having arrays, e.g Primary server: [ "xyz" ]

Candidate: server [ "xyz" ]

This is observed even if array is empty.

image