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

Allow passing custom compiler for debugging #7045

Closed
anderseknert opened this issue Sep 19, 2024 · 0 comments · Fixed by #7053
Closed

Allow passing custom compiler for debugging #7045

anderseknert opened this issue Sep 19, 2024 · 0 comments · Fixed by #7053

Comments

@anderseknert
Copy link
Member

OPA-based projects that extend OPA with e.g. custom built-in functions are currently not debuggable, as the compiler used by the debugger is hard-coded. It would be nice if the debugger API allowed clients to pass their own compiler.

@johanfylling johanfylling moved this from Backlog to Planning - v0.69 in Open Policy Agent Sep 20, 2024
johanfylling added a commit to johanfylling/opa that referenced this issue Sep 23, 2024
Adding `RegoOption` launch option to debugger for setting custom rego options.

Fixes: open-policy-agent#7045
Signed-off-by: Johan Fylling <[email protected]>
johanfylling added a commit that referenced this issue Sep 23, 2024
* debug: Configurable rego-options on debugger

Adding `RegoOption` launch option to debugger for setting custom rego options.

Fixes: #7045
Signed-off-by: Johan Fylling <[email protected]>
@github-project-automation github-project-automation bot moved this from Planning - v0.69 to Done in Open Policy Agent Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant