deep-diff2
deep-diff2 copied to clipboard
Minimize removes all newly added/removed collection items under newly added/removed map keys
(ddiff/diff {:a 1} {:a 1 :items [{:x 3}]})
=> {#lambdaisland.deep_diff2.diff_impl.Insertion{:+ :items} [{:x 3}], :a 1}
(->> (ddiff/diff {:a 1} {:a 1 :items [{:x 3}]})
(ddiff/minimize))
=> {#lambdaisland.deep_diff2.diff_impl.Insertion{:+ :items} []}
So all such big differences are hidden.