opa-idea-plugin icon indicating copy to clipboard operation
opa-idea-plugin copied to clipboard

Error reported when defining a Rule using dot notation

Open ograycode opened this issue 1 year ago • 1 comments

Here is an example that have an error reported if used in the plugin: https://play.openpolicyagent.org/p/NFSHCFUZsg

The plugin expects Rules to be defined by foo["bar"] and doesn't recognize foo.bar as also being correct.

ograycode avatar Mar 03 '23 16:03 ograycode

Thanks for reporting this @ograycode 👍 It’s a recent feature in OPA, which is likely why it’s not supported here yet. CC @vgramer :)

anderseknert avatar Mar 03 '23 18:03 anderseknert