Skip to content

Array diff get wrong result #423

@xqin

Description

@xqin

Array diff get wrong result

left.json

[
  {
    "id": "AA"
  },
  {
    "id": "BB"
  },
  {
    "id": "CC",
    "relation": {
      "A": "11",
      "B": "22"
    }
  }
]

right.json

[
  {
    "id": "CC",
    "relation": {
      "B": "22"
    }
  }
]

Image


If I swap the data on both sides, the results are as expected.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions