ballerina-vscode icon indicating copy to clipboard operation
ballerina-vscode copied to clipboard

Support adding a target field selectively (eg: only if source field exists)

Open kaviththiranga opened this issue 2 years ago • 1 comments

Description: Right now, in Data Mapper, the expression bodied function does not allow us to add a field selectively.

For example, if we want to avoid putting a particular field in the output if some optional input field doesn't exist, there's no way to achieve it.

Describe your problem(s)

Describe your solution(s)

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

kaviththiranga avatar Nov 13 '22 02:11 kaviththiranga