Skip to content

Commit

Permalink
print more
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan committed Jul 4, 2024
1 parent e01ac9b commit d5b1d1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/rego/odrl/operand.rego
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import rego.v1
## odrl:and
# checks if all given constraints are true
and_operand(constraints) if {
print(constraints)
true_constraints := [constraint | some constraint in constraints; constraint == true]
print(true_constraints)
count(true_constraints) == count(constraints)
Expand Down

0 comments on commit d5b1d1f

Please sign in to comment.