Open
Description
Description:
The following examples needs to be supported by Data Mapper
Example for primitive Map as Input
map<int> ages = {
"Tom": 23,
"Jack": 34
};
function transform(map<int> agesMap) returns int? => agesMap["Tom"];
Example for primitive Map as output
function transform(string strValue) returns map<string> => {
"Tom": strValue,
"Jack": strValue
};
Support for record maps also needs to be added
Example of primitive Tuples as input
[string, int, boolean] person = ["Mike", 24, false];
function transform([string, int, boolean] personVal) returns string => personVal[0];
Example of primitive Tuple as output
function transform(string strVal) returns [string, int, boolean] => [strVal, 20, false];
Support for record Tuple also needs to be added
Metadata
Metadata
Assignees
Type
Projects
Status
📋 Backlog