Skip to content

Minimize removes all newly added/removed collection items under newly added/removed map keys #52

@kajism

Description

@kajism
(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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions