LogicAppsUX
LogicAppsUX copied to clipboard
"Copy" doesn't work for JSON's array of strings
Severity
P3 - Medium (Minor functionality affected)
Which Data Mapper Version are you using?
v2
Describe the Bug with repro steps
Suppose I have this source
{
"field1" : "example",
"field2" : [
"x1",
"x2",
"x3"
]
}
and the destination
{
"fielddest1" : "example",
"fielddest2" : [
"x1",
"x2",
"x3"
]
}
It seems that the "Copy" function of the data mapper doesn't work with a "simple" array of strings (mapping "field2" to "fielddest2")....
Steps to Reproduce the Bug or Issue
- create a source and a destination schema that entails an array of strings e.g.
"fielddest2": {
"type": "array",
"items": {
"type": "string"
}
},
- try to map the source array to the destination array
This doesn't seem to be supported in the "legacy" data mapper nor the "modern" one.
Screenshots or Videos
No response
Environment
- VS Code Version : 1.105.1
- Extension Version: 5.185.10
- Operating System: Windows 11
Are you experiencing a regression?
No response
Map Definition (if applicable)
Additional context
opened as a copy from https://github.com/Azure/logicapps/issues/1427 and directed here from Logic Apps Community Day.