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

DMN 1.5 - date increments in loops #660

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

StrayAlien
Copy link
Contributor

Dates may now be used by loops. Some simple tests for prove this is possible and that the increment is by a single day

@baldimir
Copy link
Collaborator

@dmn-tck/contributors please review.

@SimonRinguette
Copy link
Contributor

Reviewed and test pass on the Trisotech Engine

@StrayAlien
Copy link
Contributor Author

StrayAlien commented May 23, 2024

Thanks @SimonRinguette . Apols, I have a few more sanity checks to throw in here. Apols. On their way. Assertions that types other than number/date are not permitted.

@StrayAlien
Copy link
Contributor Author

Btw, as a small note here. These tests did not have any actual ranges as iterations contexts. I have added some as the spec does refer to 'ranges' of numbers and dates, but, I have a feeling the absence of actual ranges in these tests was the result of some early discussion whereby it was agreed that the spec did not permit 'range' types here. At any rate, the tests now have actual range values.

@StrayAlien StrayAlien changed the title date increments in loops DMN 1.5 - date increments in loops Jul 25, 2024
@baldimir
Copy link
Collaborator

@dmn-tck/contributors please re-review after the latest updates.

@opatrascoiu
Copy link
Contributor

Looks good to me.

@baldimir baldimir merged commit e1942d2 into dmn-tck:master Sep 19, 2024
3 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants