Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topdown: Make *.is_valid function behavior more consistent #4844

Commits on Jul 6, 2022

  1. topdown: is_valid functions no longer error.

    This commit updates the `*.is_valid` functions to no longer produce
    errors when providing wrong-typed arguments. Instead, they will now
    return true/false for all inputs. Tests and WASM versions of these
    builtins have been updated to match the new behavior.
    
    Fixes open-policy-agent#4760.
    
    Signed-off-by: Philip Conrad <philipaconrad@gmail.com>
    philipaconrad committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    7539067 View commit details
    Browse the repository at this point in the history