Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions 4 common/src/main/java/dev/cel/common/CelOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,11 @@ public abstract static class Builder {
/**
* Use {@code UnsignedLong} values to represent unsigned integers within CEL instead of the
* nearest Java equivalent of {@code Long}.
*
* @deprecated Do not use. This option is enabled by default in the currently supported feature
* set {@link CelOptions#DEFAULT}. This flag will be removed in the future.
*/
@Deprecated
public abstract Builder enableUnsignedLongs(boolean value);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,8 @@ private static CelOptions.Builder newBaseOptions() {
/** Test options to supply for interpreter tests. */
protected enum InterpreterTestOption {
ADAPT_TYPE_VALUE(newBaseOptions().adaptRuntimeTypeValueToNativeType(true).build(), true),
CEL_TYPE_SIGNED_UINT(newBaseOptions().enableUnsignedLongs(false).build(), true),
CEL_TYPE_UNSIGNED_UINT(newBaseOptions().enableUnsignedLongs(true).build(), true),
PROTO_TYPE_SIGNED_UINT(newBaseOptions().enableUnsignedLongs(false).build(), false),
PROTO_TYPE_UNSIGNED_UINT(newBaseOptions().enableUnsignedLongs(true).build(), false),
CEL_TYPE(newBaseOptions().build(), true),
PROTO_TYPE(newBaseOptions().build(), false),
;

public final CelOptions celOptions;
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.