keploy icon indicating copy to clipboard operation
keploy copied to clipboard

[bug]: the diff viewer shows all of the trailing body as difference rather than being specific to the diff chars

Open nehagup opened this issue 11 months ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

This majorly happens for array of object. Screenshot 2024-03-05 at 7 00 53 PM

Steps to reproduce

try breaking any api in java sample pet clinic app.

Environment

None

Version

Cloud

Repository

keploy

nehagup avatar Mar 05 '24 13:03 nehagup

This error seems to be related to a pre-existing issue https://github.com/keploy/keploy/issues/1496

the summary of which was that the library dependency used to show the diff doesn’t handle arrays well.

I was testing few probable alternatives to the current json diff viewer dependency

shivamsouravjha avatar Mar 05 '24 15:03 shivamsouravjha

https://github.com/keploy/keploy/issues/1738 is similar hence closing this issue.

shivamsouravjha avatar Jul 05 '24 15:07 shivamsouravjha