Reformat policies - #258
Merged
Merged
Conversation
Merged
14 tasks
cdisselkoen
approved these changes
Jan 30, 2026
Comment on lines
78
to
+79
| .toTime | ||
| ( | ||
| ) && | ||
| () && |
Contributor
There was a problem hiding this comment.
can we get .toTime() here?
Contributor
Author
There was a problem hiding this comment.
This turns out to be difficult because of how we the Member CST node represents a call as vec [Field("toTime"), Call([])], so we'd have to write some slightly complex logic looking at the whole Member vec instead of just tweaking the formatting for an individual MemAccess
Signed-off-by: John Kastner <jkastner@amazon.com>
john-h-kastner-aws
force-pushed
the
update-format
branch
from
January 30, 2026 22:23
82ce6e5 to
74fd318
Compare
Signed-off-by: John Kastner <jkastner@amazon.com>
katherine-hough
approved these changes
Feb 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See cedar-policy/cedar#2117