imodel-native
imodel-native copied to clipboard
Presentation: When calculated property value evaluation fails, the error says it's not primitive
Try a rule like this:
{
"ruleType": "ContentModifier",
"class": {
"schemaName": "BisCore",
"className": "GeometricElement3d"
},
"calculatedProperties": [
{
"label": "Test boolean",
"value": "this will fail",
"type": "bool"
}
]
}
In the above rule the value attribute is not a valid ecexpression, but the response error says: Calculated property evaluated to a type that is not primitive (BE_SQLITE_ERROR). Could we be more specific and say that evaluation failed?