| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This change introduces stricter validation for iteration variables in standard CEL macros like `all`, `exists`, `map`, and `filter`. Iteration variables must now be simple identifiers, disallowing names that start with a dot (e.g., `.x`) and preventing the use of the internal accumulator variable `__result__`. The validation logic is now shared between the standard macros and the comprehensions extension. PiperOrigin-RevId: 933966053
| Back | FazBrowse Home | New Git URL |
Refine iteration variable validation in CEL macros.
This change introduces stricter validation for iteration variables in standard CEL macros like all, exists, map, and filter. Iteration variables must now be simple identifiers, disallowing names that start with a dot (e.g., .x) and preventing the use of the internal accumulator variable __result__. The validation logic is now shared between the standard macros and the comprehensions extension.