Better error handling of expressions like formatDecimal - Mendix Forum

Better error handling of expressions like formatDecimal

1

With the current design if you are using certian expressions and you pass an empty value to the expression it will throw an error instead of gracefully falling back and providing default or empty values. This becomes a nuisance on the developer because now you constantly have to implement something like this in all of your expressions to avoid the issue:


Instead, if the expression is passed empty or invalid values it should gracefully default to returning that datatypes default or empty value. The reasoning for this is it simplifies the apps complexity by not requiring the developers to create duplicate screens. snippets or microflow logic.

asked
0 answers