cedar-policy / cedar-docs

Documentation for Cedar policy language
https://docs.cedarpolicy.com
Apache License 2.0
24 stars 23 forks source link

Update grammar to reflect the ability to use reserved keywords in annotation names #129

Closed patjakdev closed 1 month ago

patjakdev commented 1 month ago

This line states that annotation names should be IDENTs, which was true until this PR was merged.

The grammar should now allow any IDENT | RESERVED there. Or maybe the new AnyId concept in the Rust parser could be immortalized in the grammar.

khieta commented 1 month ago

Adding ANYIDENT seems like the cleanest solution to me, but open to feedback on #132