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

Update docs to include information on strict-builtin-errors #3686

Closed
tsandall opened this issue Jul 27, 2021 · 0 comments · Fixed by #4024
Closed

Update docs to include information on strict-builtin-errors #3686

tsandall opened this issue Jul 27, 2021 · 0 comments · Fixed by #4024
Labels

Comments

@tsandall
Copy link
Member

tsandall commented Jul 27, 2021

In v0.25.0 we switched the built-in error handling behaviour to turn runtime errors into undefined so that policy evaluation doesn't halt unexpectedly. However, in some cases, users need/want to be able to see those runtime errors surfaced and so they need to enable "strict built-in errors". The mechanism for doing this differs depending on whether the integration is via HTTP, CLI, Go, etc.

We should include a section in the docs on that explains the rationale and shows how to enable strict built-in errors via different APIs.

Relevant: https://github.com/open-policy-agent/opa/releases/tag/v0.25.0

@tsandall tsandall added the docs label Jul 27, 2021
tsandall added a commit to tsandall/opa that referenced this issue Nov 17, 2021
tsandall added a commit that referenced this issue Nov 17, 2021
floriangasc pushed a commit to floriangasc/opa that referenced this issue Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant