Skip to content

Commit

Permalink
Default enable heterogeneous equality.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 453272140
  • Loading branch information
TristonianJones authored and kyessenov committed Jun 7, 2022
1 parent 69f4f56 commit 71c1034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval/public/cel_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ struct InterpreterOptions {
bool enable_null_to_message_coercion = true;

// Enable heterogeneous comparisons (e.g. support for cross-type comparisons).
bool enable_heterogeneous_equality = false;
bool enable_heterogeneous_equality = true;

// Enables unwrapping proto wrapper types to null if unset. e.g. if an
// expression access a field of type google.protobuf.Int64Value that is unset,
Expand Down

0 comments on commit 71c1034

Please sign in to comment.