You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no such thing as import package data.foo. I think the grammar is just wrong. Would you be up to fixing it in a PR? Your suggestion seems alright 👍
Include part of grammar is wrong
https://www.openpolicyagent.org/docs/latest/policy-reference/#grammar
Defines import rules as:
Which means that include rules should look like this:
But in practice the
package
part is always omitted.Should the import rule be
import = "import" ref [ "as" var ]
instead?The text was updated successfully, but these errors were encountered: