Open ograycode opened 1 year ago
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.
foo["bar"]
foo.bar
Thanks for reporting this @ograycode 👍 It’s a recent feature in OPA, which is likely why it’s not supported here yet. CC @vgramer :)
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 recognizefoo.bar
as also being correct.