Skip to content

Conversation

aaronjeline
Copy link

@aaronjeline aaronjeline commented Feb 20, 2024

Description of changes

The error message for UndeclaredCommonTypes now reports fully qualified type names, which is less confusing

Issue #, if available

#580

Checklist for requesting a review

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

  • A bug fix or other functionality change requiring a patch to cedar-policy.

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).
  • Does not update the CHANGELOG because my change does not significantly impact released code.

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

  • Does not require updates because my change does not impact the Cedar formal 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 linked an issue Feb 20, 2024 that may be closed by this pull request
3 tasks
Copy link
Contributor

@john-h-kastner-aws john-h-kastner-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this also require a change to the SchemaError enum in cedar-policy?
Edit: it doesn't

@aaronjeline aaronjeline merged commit 96b5e47 into main Feb 20, 2024
@aaronjeline aaronjeline deleted the 580-undeclaredcommontypes-error-should-always-report-fully-qualfied-name-of-type branch February 20, 2024 17:42
khieta pushed a commit that referenced this pull request Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UndeclaredCommonTypes error should always report fully qualfied name of type
3 participants