Skip to content

Commit 7f1948d

Browse files
l46kokcopybara-github
authored andcommitted
Deprecate enableCelValue option
PiperOrigin-RevId: 916273030
1 parent c57d9d0 commit 7f1948d

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

common/src/main/java/dev/cel/common/CelOptions.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import com.google.auto.value.AutoValue;
1818
import com.google.errorprone.annotations.CheckReturnValue;
1919
import com.google.errorprone.annotations.Immutable;
20-
import dev.cel.common.annotations.Beta;
2120

2221
/**
2322
* Options to configure how the CEL parser, type-checker, and evaluator behave.
@@ -434,13 +433,10 @@ public abstract static class Builder {
434433
public abstract Builder enableUnknownTracking(boolean value);
435434

436435
/**
437-
* Enables the usage of {@code CelValue} for the runtime. It is a native value representation of
438-
* CEL that wraps Java native objects, and comes with extended capabilities, such as allowing
439-
* value constructs not understood by CEL (ex: POJOs).
440-
*
441-
* <p>Warning: This option is experimental.
436+
* @deprecated Do not use, this flag will be removed in the future. Use the planner based
437+
* runtime instead, which supports CelValue by default.
442438
*/
443-
@Beta
439+
@Deprecated
444440
public abstract Builder enableCelValue(boolean value);
445441

446442
/**

0 commit comments

Comments
 (0)