Skip to content

Supports equality on protobuf messages in CelLiteRuntime. - #1489

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1025064966
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
test_1025064966

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Supports equality on protobuf messages in CelLiteRuntime.

TestAllTypes{single_int32: 1} == TestAllTypes{single_int32: 1} previously failed in CelLiteRuntime, and now evaluates to true following CEL message equality semantics (NaN is unequal to itself, -0.0 equals 0.0 when both are set, google.protobuf.Any payloads unpack, and unknown fields are order-insensitive).

`TestAllTypes{single_int32: 1} == TestAllTypes{single_int32: 1}` previously failed in `CelLiteRuntime`, and now evaluates to `true` following CEL message equality semantics (`NaN` is unequal to itself, `-0.0` equals `0.0` when both are set, `google.protobuf.Any` payloads unpack, and unknown fields are order-insensitive).

PiperOrigin-RevId: 1025064966
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant