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
Yeah, the name could certainly use some further thought, but the idea is to flag when different types are used in the rule head assignment. Simple example to demonstrate:
package p
import rego.v1
default hello :=false
hello :="world" if input.message =="world"
I suppose there could be cases where this is desired (and ignore directives can be used), but in almost all cases it's likely a mistake.
The text was updated successfully, but these errors were encountered:
Yeah, the name could certainly use some further thought, but the idea is to flag when different types are used in the rule head assignment. Simple example to demonstrate:
I suppose there could be cases where this is desired (and ignore directives can be used), but in almost all cases it's likely a mistake.
The text was updated successfully, but these errors were encountered: