-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify FEEL null
handling in PathExpression
#537
Comments
This was referenced Jan 16, 2023
This seems to be clarified by @barmac in #536 (comment):
What is missing is TCK test cases to clearly document the behavior. |
nikku
added a commit
to camunda/dmn-tck
that referenced
this issue
Jan 19, 2023
Ensures the following is true: ``` { a: 1 }.b = null ``` Related to dmn-tck#537
nikku
added a commit
to camunda/dmn-tck
that referenced
this issue
Jan 19, 2023
Ensures the following is true: ``` { a: 1 }.b = null ``` Related to dmn-tck#537
nikku
added a commit
to camunda/dmn-tck
that referenced
this issue
Jan 19, 2023
Ensures the following is true: ``` { a: 1 }.b = null ``` Related to dmn-tck#537
nikku
added a commit
to camunda/dmn-tck
that referenced
this issue
May 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the context
The DMN 1.4 specification gives users some pointers on how FEEL should handle invalid inputs and data formats (cf. additional context). From what it reads to me the way is
null
cohersion. Invalid (incompatible operations, access, or invocations) yieldnull
. That intention is not explicitly expressed though (you need to read between the lines, interpret what is actually specified.null
cohersion aroundPathExpression
is not clearly specified and may lead to engines behaving slightly different:Expected Behavior
Alternative Interpretations
To be clear there exists a number of different possible interpretations:
strict
null
handling, blowing upAdditional Context
I'm aware of the following cases of
null
cohersion, explicitly defined by the spec:Access function with wrong arguments
Unboxing of single value lists
Related to #536
The text was updated successfully, but these errors were encountered: