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

Support for splitting nested branching operators within policies #1136

Merged
merged 6 commits into from
Feb 25, 2025

Conversation

TristonianJones
Copy link
Collaborator

Introduce support for splitting nested match blocks according to a configurable height limit.

When expressions are more than 25 levels deep, logical AND, logical OR, and conditional operators
will automatically be split into local variables within a cel.@block. This depth is configurable
in the event that a different limit is desired.

@TristonianJones TristonianJones merged commit 9855c70 into google:master Feb 25, 2025
2 checks passed
@TristonianJones TristonianJones deleted the policy-match-split branch February 25, 2025 22:15
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