Category
Cedar validation features
Describe the feature you'd like to request
The validator sometimes gives imprecise types to expressions using in.
principal in [] will type as Bool when principal is Unspecified, although we could give the more precise type of False.
- Expressions like
action in action or principal in principal will type as Bool, even though we could give them type True.
- If the action hierarchy says that
Action::"read" is a descendant of Action::"read_or_write", then Action::"read" in Action::"read_or_write" will type as Bool, even though we could type it as True.
Describe the solution you'd like
n/a
Describe alternatives you've considered
n/a
Additional context
No response
Is this something that you'd be interested in working on?
Category
Cedar validation features
Describe the feature you'd like to request
The validator sometimes gives imprecise types to expressions using
in.principal in []will type asBoolwhen principal is Unspecified, although we could give the more precise type ofFalse.action in actionorprincipal in principalwill type asBool, even though we could give them typeTrue.Action::"read"is a descendant ofAction::"read_or_write", thenAction::"read"inAction::"read_or_write"will type asBool, even though we could type it asTrue.Describe the solution you'd like
n/a
Describe alternatives you've considered
n/a
Additional context
No response
Is this something that you'd be interested in working on?