-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge command does not merge correctly when using arrays #64
Labels
enhancement
New feature or request
Comments
input {
"objectWithArrays": [
{
"MyFirstObject": [
{
"refKey": "1",
"test": "mytest"
},
{
"refKey": "2",
"test": "mytest"
}
],
"SecondObjectToMergeWith": [
{
"refKey": "1",
"testing": "a"
},
{
"refKey": "2",
"testing": "b"
},
{
"refKey": "3",
"testing": "c"
}
]
},
{
"MyFirstObject": [
{
"refKey": "1",
"test": "mytest"
},
{
"refKey": "2",
"test": "mytest"
}
],
"SecondObjectToMergeWith": [
{
"refKey": "1",
"testing": "d"
},
{
"refKey": "2",
"testing": "e"
},
{
"refKey": "3",
"testing": "f"
}
]
}
]
} should turn into {
"objectWithArrays": [
{
"MyFirstObject": [
{
"refKey": "1",
"test": "mytest",
"testing": "a"
},
{
"refKey": "2",
"test": "mytest",
"testing": "b"
}
],
"SecondObjectToMergeWith": [
{
"refKey": "1",
"testing": "a"
},
{
"refKey": "2",
"testing": "b"
},
{
"refKey": "3",
"testing": "c"
}
]
},
{
"MyFirstObject": [
{
"refKey": "1",
"test": "mytest",
"testing": "d"
},
{
"refKey": "2",
"test": "mytest",
"testing": "e"
}
],
"SecondObjectToMergeWith": [
{
"refKey": "1",
"testing": "d"
},
{
"refKey": "2",
"testing": "e"
},
{
"refKey": "3",
"testing": "f"
}
]
}
]
} |
This is currently not supported. It is a challenging structure with an array in an array. The execution requires it to be handled 0ne by one, while the current implementation works to match all results based on the key provided. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Input
Script
Expected Result:
The text was updated successfully, but these errors were encountered: