From e69a4dd6ece01771ed9857473a285be81f04516e Mon Sep 17 00:00:00 2001 From: Sokwhan Huh Date: Thu, 25 Jan 2024 16:28:15 -0800 Subject: [PATCH] Enable lazy comprehension eval by default PiperOrigin-RevId: 601600918 --- common/src/main/java/dev/cel/common/CelOptions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/dev/cel/common/CelOptions.java b/common/src/main/java/dev/cel/common/CelOptions.java index 2032752a..29202945 100644 --- a/common/src/main/java/dev/cel/common/CelOptions.java +++ b/common/src/main/java/dev/cel/common/CelOptions.java @@ -181,7 +181,7 @@ public static Builder newBuilder() { .resolveTypeDependencies(true) .enableUnknownTracking(false) .enableCelValue(false) - .enableComprehensionLazyEval(false) + .enableComprehensionLazyEval(true) .comprehensionMaxIterations(-1); }