Skip to content
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

FEEL functions that expect List parameters, should coerce single item to a List #1330

Closed
yesamer opened this issue Jun 18, 2024 · 1 comment · Fixed by apache/incubator-kie-drools#5997
Assignees
Labels
area:dmn Related to DMN area:engine Related to the runtime engines type:bug Something is behaving unexpectedly

Comments

@yesamer
Copy link

yesamer commented Jun 18, 2024

Requires #1370

According to the Specs:

10.3.2.9.4 Type conversions
to singleton list:
When the type of the expression is T and the target type is List the expression is converted to a
singleton list.
from singleton list:
When the type of the expression is List, the value of the expression is a singleton list and the target
type is T, the expression is converted by unwrapping the first element.

@yesamer yesamer added type:bug Something is behaving unexpectedly area:dmn Related to DMN area:engine Related to the runtime engines labels Jun 18, 2024
@yesamer yesamer self-assigned this Jun 18, 2024
@yesamer yesamer moved this from 📋 Backlog to ⏳ In Progress in 🦉 KIE Podling Board Jun 18, 2024
@yesamer yesamer changed the title context and context merge missing functionalities FEEL functions that expect List parameters, should coerce single item to a List Jun 20, 2024
@yesamer
Copy link
Author

yesamer commented Jun 20, 2024

Changed scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dmn Related to DMN area:engine Related to the runtime engines type:bug Something is behaving unexpectedly
Projects
Status: 🎯 Done
1 participant