Cedar Generalized Templates#1669
Conversation
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
… slots in protobuf format Signed-off-by: Alan Wang <alanwang599@gmail.com>
Coverage ReportHead Commit: Base Commit: Download the full coverage report. Coverage of Added or Modified Lines of Rust CodeRequired coverage: 80.00% Actual coverage: 82.40% Status: PASSED ✅ Details
Coverage of All Lines of Rust CodeRequired coverage: 80.00% Actual coverage: 83.04% Status: PASSED ✅ Details
|
cdisselkoen
left a comment
There was a problem hiding this comment.
Looks good, just a couple minor comments.
I also wonder if we can write more tests for this functionality yet, or does that have to wait for a future PR that completes the CST-to-AST functionality?
Signed-off-by: Alan Wang <alanwang599@gmail.com>
I think tests for the EST portion of the changes will need to wait until the CST-to-AST function is completed. |
Coverage ReportHead Commit: Base Commit: Download the full coverage report. Coverage of Added or Modified Lines of Rust CodeRequired coverage: 80.00% Actual coverage: 81.75% Status: PASSED ✅ Details
Coverage of All Lines of Rust CodeRequired coverage: 80.00% Actual coverage: 83.03% Status: PASSED ✅ Details
|
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Coverage ReportHead Commit: Base Commit: Download the full coverage report. Coverage of Added or Modified Lines of Rust CodeRequired coverage: 80.00% Actual coverage: 81.75% Status: PASSED ✅ Details
Coverage of All Lines of Rust CodeRequired coverage: 80.00% Actual coverage: 83.03% Status: PASSED ✅ Details
|
…ized template annotations and values associated with generalized slots Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
…e template Signed-off-by: Alan Wang <alanwang599@gmail.com>
…king for generalized_template_interp Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Signed-off-by: Alan Wang <alanwang599@gmail.com>
Description of changes
Changes for Cedar Generalized Templates . Currently this this works for when a Schema is provided. The API end point that is exposed to end users are a function that allows for the creation of generalized slots and generalized_link which allows users to also provide values besides EntityUIDs.
Issue #, if available
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.Ybranch, notmain.)