Skip to content

Compare tags in ValidatorEntityType#523

Merged
shaobo-he-aws merged 1 commit intomainfrom
fix/shaobo/test-tags-equiv
Feb 3, 2025
Merged

Compare tags in ValidatorEntityType#523
shaobo-he-aws merged 1 commit intomainfrom
fix/shaobo/test-tags-equiv

Conversation

@shaobo-he-aws
Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

We didn't compare tags in impl Equiv for cedar_policy_validator::ValidatorEntityType. This PR fixes it.

Signed-off-by: Shaobo He <shaobohe@amazon.com>
Copy link
Copy Markdown
Contributor

@cdisselkoen cdisselkoen left a comment

Choose a reason for hiding this comment

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

do we need to instead test whether the tag types are Equiv, not equal?

@shaobo-he-aws
Copy link
Copy Markdown
Contributor Author

do we need to instead test whether the tag types are Equiv, not equal?

We don't have Equiv implemented for Type. If we do, it will be equivalence checking like this PR.

@shaobo-he-aws shaobo-he-aws merged commit 7e2d4b8 into main Feb 3, 2025
6 checks passed
@shaobo-he-aws shaobo-he-aws deleted the fix/shaobo/test-tags-equiv branch February 3, 2025 20:29
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.

3 participants