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

repl: Add support for correctly loading bundle modules #6885

Merged

Conversation

ashutosh-narkar
Copy link
Member

This change updates the repl so that the modules in the
provided bundle are parsed based on the rego_version attribute
in the bundle manifest. Currently that is ignored which leads
to parsing failures.

Fixes: #6872

This change updates the repl so that the modules in the
provided bundle are parsed based on the `rego_version` attribute
in the bundle manifest. Currently that is ignored which leads
to parsing failures.

Fixes: open-policy-agent#6872

Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>
Copy link

netlify bot commented Jul 23, 2024

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit fd07c31
🔍 Latest deploy log https://app.netlify.com/sites/openpolicyagent/deploys/66a00e4428c8d500085228f8
😎 Deploy Preview https://deploy-preview-6885--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 site configuration.

@ashutosh-narkar ashutosh-narkar merged commit 959f9e5 into open-policy-agent:main Jul 23, 2024
28 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
Development

Successfully merging this pull request may close these issues.

The rego_version field is not getting respected in the REPL
2 participants