Open maxmorrow-rrexpress opened 1 week ago
Hello @maxmorrow-rrexpress thank you for reporting this! I have a few follow up questions for you. I believe that this is expected behavior, but I'd like to know more about your scenario so that we can find a workaround or put a feature request in our backlog. With our current implementation, we do not change anything about the data being mapped based on the target schema type.
In this example scenario, are you needing the output to be the following:
{ "Name": ["abc"] }
Describe the Bug with repro steps
Summary
This issue is specific to Logic Apps Data Mappers within Visual Studio Code specifically. This defect (or missing feature, unsure if this is expected) occurs when you try to map from a source string attribute to an array.
Repro Steps
Example Schemas
source
target
test json
{
"data": {
"Type": "abc"
}
}
What type of Logic App Is this happening in?
Standard (VSCode)
Which operating system are you using?
Windows
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
N/A -- Unable to complete building a data mapper for use in a workflow.
Screenshots or Videos
Browser
Additional context
We are attempting to map from a single string value to an array of string values. The use-case is for an integration that has a list of tags we need to map a single value to during an outbound HTTP request.