camunda / feel-scala

FEEL parser and interpreter written in Scala
https://camunda.github.io/feel-scala/
Apache License 2.0
123 stars 50 forks source link

feat: Comparing different types returns null #711

Closed saig0 closed 1 year ago

saig0 commented 1 year ago

Description

If an expression or a unary-test compares two values of different types then the evaluation returns null and reports a failure. Previously, the evaluation failed with an error.

The new behavior is aligned with the DMN specification and helps users to handle these cases.

Related issues

closes #708

saig0 commented 1 year ago

@nicpuppa please review this new PR in the next few days. It is again about being more full-friendly - this time when comparing values of different types. :cookie: