Skip to content

Conversation

styurin
Copy link

@styurin styurin commented Oct 4, 2025

ProtoStringFieldReferenceEquality assumes that all protobuf messages extend com.google.protobuf.GeneratedMessage, but older versions of protobuf (before v26) use com.google.protobuf.GeneratedMessageV3 as the base class for messages.

This change updates ProtoStringFieldReferenceEquality to use com.google.protobuf.MessageLite to detect protobufs. This interface is present in older versions of protobuf and it hasn't changed since then.

@styurin styurin force-pushed the st/proto-string-message branch from 4a355d1 to 7733b92 Compare October 4, 2025 06:35
@styurin styurin marked this pull request as ready for review October 4, 2025 06:36
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