You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looked briefly into this, and while the in is rewritten into an eq check, it seems the type information is somehow lost when looking up the type of the transformed var (__local1__ or whatever). Not immediately apparent to me why.
schema/input.json
Below policy should not compile, as "admin" is not a number.
policy.rego
Switching to use old style iteration however does enforce the type:
The text was updated successfully, but these errors were encountered: