Closed clement-brodu closed 7 months ago
ref parameters (aka INPUT-OUTPUT in Openedge) are not visible in the json :
ref
public string GetMyPropertyWithInputOutput(int hello, ref string name, out string othername)
Openedge equivalent
METHOD PUBLIC CHARACTER GetMyPropertyWithInputOutput (INPUT hello AS INTEGER, INPUT-OUTPUT name AS CHARACTER, OUTPUT othername AS CHARACTER)
{ "name": "GetMyPropertyWithInputOutput", "returnType": "CHARACTER", "parameters": [ { "name": "hello", "type": "INTEGER" }, { "name": "name", "type": "System.String" }, { "isOut": true, "name": "othername", "type": "System.String" } ] },
@gquerret , any preference for the INPUT-OUTPUT ?
{ "isInputOutput": true, // true if input-output "isOut": false, // true if output "name": "othername", "type": "System.String" }
or
{ "mode": "IO" // I for input or O for output or IO for input-output (default to "I") "name": "othername", "type": "System.String" }
{ "mode": "INPUT-OUTPUT" // explicit openedge keyword "name": "othername", "type": "System.String" }
I'd go for "mode"="IO".
"mode"="IO"
fixed in 1.0.3
schemaVersion is still 1 because it is not in production yet 😉
1
ref
parameters (aka INPUT-OUTPUT in Openedge) are not visible in the json :Openedge equivalent
@gquerret , any preference for the INPUT-OUTPUT ?
or
or