We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the following policy:
package test foo(_) := bar bar := 1337
is built targeting wasm or plan, with the package assigned as entrypoint:
wasm
plan
opa build -t wasm -e "test" test.rego
we get the following error:
error: 1 error occurred: test.rego:1: rego_type_error: undefined ref: data.test.foo data.test.foo ^^^^^^^^^^^^^ have: (any) => number
The text was updated successfully, but these errors were encountered:
Build target "plan" wasn't a thing back then, but this has been reported before: #4411.
Sorry, something went wrong.
No branches or pull requests
When the following policy:
is built targeting
wasm
orplan
, with the package assigned as entrypoint:opa build -t wasm -e "test" test.rego
we get the following error:
The text was updated successfully, but these errors were encountered: