"Copy" doesn't work for JSON's array of strings
- Dominant language
- TypeScript
- Stars
- 111
- Forks
- 109
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 20
Description
### 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
1. create a source and a destination schema that entails an array of strings e.g.
```
"fielddest2": {
"type": "array",
"items": {
"type": "string"
}
},
```
2. 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)
```yaml
```
### Additional context
opened as a copy from https://github.com/Azure/logicapps/issues/1427 and directed here from Logic Apps Community Day.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.