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

[incubator-kie-issues#1326] Filter, Some and Every expression should fail when the matching function doesn't return a Boolean #6000

Merged
merged 4 commits into from
Jun 24, 2024

Conversation

yesamer
Copy link
Contributor

@yesamer yesamer commented Jun 21, 2024

Closes apache/incubator-kie-issues#1326

  • FilterExpression: The filter expression MUST resolve to a Boolean
  • FilterExpression: Removed a logic that, when in the filter expression and on the first evaluation a number is returned, we are using an index instead of a boolean filter.
    That is because in contrast with the previous point AND not described in the specs
  • EveryExpression: The matching expression MUST resolve to a Boolean
  • SomeExpression: The matching expression part MUST resolve to a Boolean

@yesamer yesamer added the DMN label Jun 21, 2024
@gitgabrio gitgabrio merged commit f84a1be into apache:main Jun 24, 2024
10 checks passed
@yesamer yesamer deleted the kie-issues#1326-2 branch June 24, 2024 12:26
rgdoliveira pushed a commit to rgdoliveira/drools that referenced this pull request Jul 8, 2024
…hould fail when the matching function doesn't return a Boolean (apache#6000)

* Fix + Tests

* Fix tests

* Minor changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter, Some and Every expression should fail when the matching function doesn't return a Boolean
3 participants