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
Something like sprintf("%s", 2e308) found inside of a policy currently has Jarl parsing 2e308 as a double with the value set to Infinity. We should allow reading these values the same way OPA does, using BigDecimal or whatever is most appropriate. We'd also need to ensure that all builtins dealing with numbers work with this as well.
As an aside, the Rego Playground seems to have problems with this as well, and x := 2e308 will render {"x": null} :)
The text was updated successfully, but these errors were encountered:
ClojureScript doesn't handle BigInt / BigDecimal values like Clojure. While we could probably work around this, these are generally not used in policy, and as such not prioritized. Will ignore any tests for these when the target is cljs.
Something like
sprintf("%s", 2e308)
found inside of a policy currently has Jarl parsing2e308
as a double with the value set toInfinity
. We should allow reading these values the same way OPA does, usingBigDecimal
or whatever is most appropriate. We'd also need to ensure that all builtins dealing with numbers work with this as well.As an aside, the Rego Playground seems to have problems with this as well, and
x := 2e308
will render{"x": null}
:)The text was updated successfully, but these errors were encountered: