camunda / feel-scala

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

feat: Return null on accessing a non-existing property #709

Closed saig0 closed 10 months ago

saig0 commented 10 months ago

Description

Change the behavior for accessing a non-existing property. Instead of failing the evaluation, it returns null. A failure with a descriptive message is reported.

This change is aligned with the DMN specification and the new direction to be more null-friendly.

Related issues

closes #707

saig0 commented 10 months ago

@nicpuppa here is a small PR for you. It is related to the other topics recently. Please have a look in the next few days. Thank you! :cookie: