Skip to content

Conversation

aaronjeline
Copy link

@aaronjeline aaronjeline commented Jan 17, 2024

Description of changes

Adds PolicyId::new(), a total function for constructing policy ids.
I will file a separate PR that moves the FromStr implementation to use Infallible, but that's a breaking change so wanted it separable.

Issue #, if available

551

Checklist for requesting a review

The change in this PR is (choose one, and delete the other options):

  • A backwards-compatible change requiring a minor version bump to cedar-policy (e.g., addition of a new API).

I confirm that this PR (choose one, and delete the other options):

  • Updates the "Unreleased" section of the CHANGELOG with a description of my change (required for major/minor version bumps).

I confirm that cedar-spec (choose one, and delete the other options):

  • Does not require updates because my change does not impact the Cedar Dafny model or DRT infrastructure.

Disclaimer

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aaronjeline aaronjeline merged commit 540957c into main Jan 17, 2024
@aaronjeline aaronjeline deleted the aaronjeline/issue551-a branch January 17, 2024 18:46
@sarahcec sarahcec added the 3.1 Features for 3.1 label Jan 23, 2024
shaobo-he-aws pushed a commit that referenced this pull request May 20, 2025
Signed-off-by: Craig Disselkoen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.1 Features for 3.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants