Skip to content
New issue

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

Error reported when defining a Rule using dot notation #142

Open
ograycode opened this issue Mar 3, 2023 · 1 comment
Open

Error reported when defining a Rule using dot notation #142

ograycode opened this issue Mar 3, 2023 · 1 comment
Assignees
Labels
area/grammar issue or pr related to the grammar bug Something isn't working

Comments

@ograycode
Copy link

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.

@anderseknert
Copy link
Member

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

@vgramer vgramer self-assigned this Mar 3, 2023
@vgramer vgramer added bug Something isn't working area/grammar issue or pr related to the grammar labels Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/grammar issue or pr related to the grammar bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants