-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Describe the Bug
Array/List values are not resolved as expected. Currently, a variable with a value of ["1", 1, { "test": { "sample": 123 } }] is resolved as below.
The problems I can observe;
typeisContext, but should have beenList- First two entries that are
"1"and1are omitted, but should have been preserved and resolved accordingly isListflag is missing
{
"name": "arrayValue",
"provider": [
null
],
"type": "Context",
"info": "",
"entries": [
{
"entries": [
{
"atomicValue": 123,
"entries": [],
"type": "Number",
"info": "123",
"name": "sample",
"detail": "Number"
}
],
"type": "Context",
"info": "",
"name": "test",
"detail": "Context"
}
],
"detail": "Context"
}Steps to Reproduce
- Create an input/output mapping
- Enable FEEL expressions
- Provide a value like
["1", 1, { "test": { "sample": 123 } }]
Expected Behavior
variable-resolver resolves this variable with type=List and isList=true (?) and its entries accordingly without omitting sub-values and their schema.
Environment
- Library version: main, cover-null-variable-type
Reactions are currently unavailable