Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types: change Set() to take variadic arguments to match EntityUIDSet() #53

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

patjakdev
Copy link
Collaborator

Issue #, if available:

Description of changes:

In addition to making the two functions have a similar shape, this also cuts down quite a bit on the annoying []types.Value{} wrapper detritus that we have to put around literal arguments.

This also cuts down quite a bit on the annoying []types.Value{} wrapper that we have to put around literal arguments.

Signed-off-by: Patrick Jakubowski <patrick.jakubowski@strongdm.com>
@patjakdev patjakdev marked this pull request as ready for review November 7, 2024 00:48
Copy link
Collaborator

@philhassey philhassey left a comment

Choose a reason for hiding this comment

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

LGTM

@patjakdev patjakdev requested a review from philhassey November 7, 2024 21:25
@patjakdev patjakdev merged commit 40d3f44 into cedar-policy:main Nov 7, 2024
3 checks passed
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.

2 participants