Skip to content

runtime: add ExtraDiscoveryOpts to runtime.Params #7766

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

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

srenatus
Copy link
Contributor

This allows injecting discovery options, such as hooks, or extra factories, into the runtime.

It's useful because when wrapping OPA, you don't want to re-write the runtime package, you want to use it as-is. With this, we can still configure a few internals.

Copy link

netlify bot commented Jul 11, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit e9c185e
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/68710abfd166b9000888bc3a
😎 Deploy Preview https://deploy-preview-7766--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Jul 11, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit 23e3bf7
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/68711751f508a4000839254a
😎 Deploy Preview https://deploy-preview-7766--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

This allows injecting discovery options, such as hooks, or extra
factories, into the runtime. It's useful because when wrapping OPA, you
don't want to re-write the runtime package, you want to use it as-is.
With this, we can still configure a few internals.


Signed-off-by: Stephan Renatus <[email protected]>
@srenatus srenatus enabled auto-merge (rebase) July 11, 2025 13:53
@srenatus srenatus merged commit eaf10e0 into open-policy-agent:main Jul 11, 2025
31 checks passed
@srenatus srenatus deleted the sr/nrrwrqlmxnym branch July 11, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants