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

chore: Add test cases for comments inside condition blocks #1994

Merged
merged 1 commit into from Feb 20, 2024

Conversation

charithe
Copy link
Contributor

The old parser stripped out YAML comments from inside literal blocks as
well. That behaviour is incorrect because the spec doesn't allow
comments inside scalars. Comments for CEL expressions should use //
for comments instead.

Signed-off-by: Charith Ellawala charith@cerbos.dev

The old parser stripped out YAML comments from inside literal blocks as
well. That behaviour is incorrect because the spec doesn't allow
comments inside scalars. Comments for CEL expressions should use `//`
for comments instead.

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
@charithe charithe merged commit ff8a489 into cerbos:main Feb 20, 2024
30 of 31 checks passed
@charithe charithe deleted the chore/comment-tests branch February 20, 2024 11:46
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.

None yet

2 participants