Open domluna opened 2 years ago
I tried editing based on the example in the PR but It doesn't seem to do what I want and I don't think it will at least from my understanding. Basically it will stop delving into a type or field but that's not want I want. I want it to delve into the fields but return the entire struct as the diff rather than just the field that changed.
I also think this would be pretty useful to include. I'm diffing nested structs inside of slices and it would be nice to also have the entire struct that changed instead of just the path and the exact value that changed. I know that the parent
field exists but it's not a public field. Maybe making parent
public is the way to go here?
Output
What I would like is a way so that instead of
I get