You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling EXECUTE SCRIPT AAF_RUN_QUERY_HANDLER() accepts a json string as input.
The key parameters in the json is currently required to be a string and passed to x as a string.
When the user provided a data type other than string then
Simple data types like float, int, bool will be converted to a String,
while a Json object or an array is represented as a string value with an unusable reference, e.g. table: 0x14823bd38580.
The current ticket requests to support the complex datatypes in json input by converting them into a json string:
Json input
current conversion
Rating
Expected conversion
"parameter": true,
"true"
✅
"true"
"parameter": 123,
"123"
✅
"123"
"parameter": 1.3,
"1.3"`
✅
"1.3"
"parameter": [ "bla-bla" ],
"table: 0x14823bd38580"
❌
'[ "bla-bla" ]'
"parameter": { "a": 123 ],
"object: 0x14823bd38580"
❌
'[ "a": 123 ]'
omitting the entry parameters
string "nil"
❓
(TBC)
The text was updated successfully, but these errors were encountered:
Calling
EXECUTE SCRIPT AAF_RUN_QUERY_HANDLER()
accepts a json string as input.The key
parameters
in the json is currently required to be a string and passed tox
as a string.When the user provided a data type other than string then
float
,int
,bool
will be converted to a String,table: 0x14823bd38580
.The current ticket requests to support the complex datatypes in json input by converting them into a json string:
"parameter": true,
"true"
"true"
"parameter": 123,
"123"
"123"
"parameter": 1.3,
"1.3"
"parameter": [ "bla-bla" ],
"table: 0x14823bd38580"
"parameter": { "a": 123 ],
"object: 0x14823bd38580"
parameters
"nil"
The text was updated successfully, but these errors were encountered: