Closed john-h-kastner-aws closed 1 month ago
Though I'd like to propose a new terminology. Can we call what's after
@
the annotation name and what's inside()
the annotation argument.
I don't particularly want to pull a change in terminology into this PR.
Description of changes
Adds support for annotations like
@foo
as sugar for@foo("")
.Will require a small DRT update to account for the change in data structures. Will also require a small change to the docs to note that this syntax is also allowed.
Checklist for requesting a review
The change in this PR is (choose one, and delete the other options):
cedar-policy
(e.g., changes to the signature of an existing API).cedar-policy
(e.g., addition of a new API).cedar-policy
.cedar-policy-core
,cedar-validator
, etc.)I confirm that this PR (choose one, and delete the other options):
I confirm that
cedar-spec
(choose one, and delete the other options):cedar-spec
, and how you have tested that your updates are correct.)cedar-spec
. (Post your PR anyways, and we'll discuss in the comments.)I confirm that
docs.cedarpolicy.com
(choose one, and delete the other options):cedar-docs
. PRs should be targeted at astaging-X.Y
branch, notmain
.)