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

fix: cover built-in errors with a flag, suppress unless it's passed #871

Merged

Conversation

boranx
Copy link
Member

@boranx boranx commented Sep 20, 2023

Fix: #840, #870

This is to bring the user experience closer to opa when it comes to built-in errors.
By default, OPA doesn't fail on built-in errors unless --show-builtin-errors is explicitly passed, but conftest does.
This PR introduces the same flag in conftest along with the same functionality as well

Signed-off-by: boranx <boran.seref@gmail.com>
Copy link
Member

@jalseth jalseth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jalseth jalseth merged commit 10ac2ec into open-policy-agent:master Oct 1, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants