https://github.com/google/go-cmp/
I wonder if this can replace our semantic DeepEqual?
@lavalamp
@kubernetes/sig-api-machinery-bugs
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale
/lifecycle frozen
/remove-lifecycle stale
Hi @thockin, can I take this up ? It would be a good starter issue for me.
found a similar discussion stretchr/testify#535
Does this still need to be discussed?
https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/util/diff/diff.go#L57
ObjectDiff() ObjectGoPrintDiff() ObjectReflectDiff() use
func legacyDiff(a, b interface{}) string {
return cmp.Diff(a, b)
}
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.