Skip to content

Comparing String and Number in Rego should evaluate to error #50

Discussion options

You must be logged in to vote

I agree that this is slightly confusing, and if designed today this could probably have been made an error. Considering how uncommon these types of comparisons likely are, and that changing this now would break existing policies (however uncommon) I don't believe it would be desirable to have this changed now. Good to have this reported here though if others should search for it 👍

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SinghCoder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment