Open laurentC35 opened 8 months ago
Does it concern only expressions that are in Luantic labels of type "VTL"
, or also those of type "VTL|MD"
?
Labels of type VTL
in json Lunatic:
Labels of type VTL|MD
in json Lunatic:
➡️ Where should be put the "shapeFrom"
property?
Currently it only exists in calculated variable objects (that are defined at an iteration level):
{
"variableType": "CALCULATED",
"name": "FOO",
"expression": {
"value": "<VTL expression>",
"type": "VTL"
},
"bindingDependencies": [
"VAR1", "VAR2"
],
"shapeFrom": "SOME_ARRAY_VARIABLE",
}
In order to increase performance with caching in Lunatic. We need something like shapeFrom (like in calculated variables)
See this conversation: https://github.com/InseeFr/Lunatic/pull/871#issue-2122599213
ToDo: