Behavior of the default rules for object with index #339
Unanswered
mingweishih
asked this question in
OPA and Rego
Replies: 1 comment 2 replies
-
Case 1 and 2 look like bugs to me. They should both be invalid and rejected by the compiler. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When trying the default rules, I notice that
default var[index] = value
has the following behaviorsFor example,
Input
Input
Case 1:
Input
Input
Are these behaviors by-design?
Beta Was this translation helpful? Give feedback.
All reactions