Skip to content

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