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
package p allow { re_match("foo", "bar") }
Formatting this for Rego v1 using the command line:
opa fmt --rego-v1 -w policy failed to format Rego source file: 1 error occurred: p.rego:4: rego_type_error: deprecated built-in function calls in expression: re_match
However, when trying to do this via LSP code actions, no error is reported back and the file is simply left unchanged.
I assume the same goes for the "normal" (non-v1) formatter too, but it might be tricky to have it produce errors that aren't parse errors.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Formatting this for Rego v1 using the command line:
However, when trying to do this via LSP code actions, no error is reported back and the file is simply left unchanged.
I assume the same goes for the "normal" (non-v1) formatter too, but it might be tricky to have it produce errors that aren't parse errors.
The text was updated successfully, but these errors were encountered: