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

isEmpty method #487

Merged
merged 3 commits into from
Dec 6, 2024
Merged

isEmpty method #487

merged 3 commits into from
Dec 6, 2024

Conversation

cdisselkoen
Copy link
Contributor

Adding the isEmpty method (introduced by cedar-policy/cedar#1358) to the Lean and DRT. For the DRT, the only change necessary was adjusting policy generators to be capable of generating .isEmpty() expressions. For Lean, the evaluator and typechecker had to be adjusted to handle the new operator.

Signed-off-by: Craig Disselkoen <[email protected]>
@cdisselkoen
Copy link
Contributor Author

Strange CI failure, where during the build of the lean-sys Rust crate, lean --print-prefix failed

@cdisselkoen
Copy link
Contributor Author

It's not that the lean command wasn't found, that's a different error code

Signed-off-by: Craig Disselkoen <[email protected]>
@cdisselkoen
Copy link
Contributor Author

Resolved itself on a retry. Weird.

This reverts commit 76fe903.

Signed-off-by: Craig Disselkoen <[email protected]>
@cdisselkoen cdisselkoen merged commit 074952e into main Dec 6, 2024
6 checks passed
@cdisselkoen cdisselkoen deleted the cdisselkoen/isEmpty branch December 6, 2024 21:12
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.

3 participants