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

ast: Importing rego.v1 in v0 support modules when applicable #6698

Commits on Apr 22, 2024

  1. ast: Importing rego.v1 in v0 support modules when applicable

    Prioritizing generating v0 Rego with `rego.v1` import when producing support modules for non-`--v1-compatible` optimized builds.
    
    Affects `opa build` when the `-O` flag is used for optimization, and `opa eval` for partial evaluation with the `-p` flag.
    
    Fixes: open-policy-agent#6450
    Signed-off-by: Johan Fylling <johan.dev@fylling.se>
    johanfylling authored and ashutosh-narkar committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    658bb79 View commit details
    Browse the repository at this point in the history
  2. Adding tests for when rule conflicts with v1 keyword

    Signed-off-by: Johan Fylling <johan.dev@fylling.se>
    johanfylling authored and ashutosh-narkar committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    80dfbbf View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Adding test case

    Signed-off-by: Johan Fylling <johan.dev@fylling.se>
    johanfylling committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    3cc10d6 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2024

  1. Configuration menu
    Copy the full SHA
    65ebbde View commit details
    Browse the repository at this point in the history