From 71c10343511ddfd77d47b326571e597498bc1b6e Mon Sep 17 00:00:00 2001 From: tswadell Date: Mon, 6 Jun 2022 20:36:03 +0000 Subject: [PATCH] Default enable heterogeneous equality. PiperOrigin-RevId: 453272140 --- eval/public/cel_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval/public/cel_options.h b/eval/public/cel_options.h index 9fd18e138..1311e5cbe 100644 --- a/eval/public/cel_options.h +++ b/eval/public/cel_options.h @@ -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,