Skip to content

problem handling arrays #16

@marcelh-gh

Description

@marcelh-gh

case:
combining two files (in the order file1, file2) which both contain a key "a" which contains an array in both files (the array in file2 is a subset of the one in file1)

results:
1.
with the concatArrays option set to true the result is as expected: the "a" keys are combined and the joint array consists of all the entries from both source arrays in the order file1, file2.
2.
with the concatArrays option set to false however the result is not as I would expect.
my expectation is to find just the array entries of file 2 (overwriting the array from file1).
instead the result seems to be a either just the array from file 1 or maybe a merge of the two, which in this scenario happens to be the array from file 1

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