Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In this CL, we update generated_message_tctable_lite to support both length-prefixed and delimited when it comes to parsing submessages. #16247

Closed
wants to merge 1 commit into from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Mar 20, 2024

In this CL, we update generated_message_tctable_lite to support both length-prefixed and delimited when it comes to parsing submessages.

In the past, the parser would do error checking based on the schema. If a .proto file declared a submessage to be length-prefixed but an SGROUP was encountered on the wire, it would invoke the fallback. This behavior is now updated: the parser will solely look at the tag when dealing with submessages.

This increases the flexibility of the parser and will make our Editions rollout smoother.

@copybara-service copybara-service bot force-pushed the test_617275654 branch 2 times, most recently from c9a6f50 to d814902 Compare March 21, 2024 17:23
@copybara-service copybara-service bot changed the title Allow messages to be parsed length-prefix or by groups in cpp In this CL, we update generated_message_tctable_lite to support both length-prefixed and delimited when it comes to parsing submessages. Mar 21, 2024
@copybara-service copybara-service bot force-pushed the test_617275654 branch 6 times, most recently from 48dda1f to 51d95e0 Compare March 28, 2024 19:08
…length-prefixed and delimited when it comes to parsing submessages.

In the past, the parser would do error checking based on the schema. If a .proto file declared a submessage to be length-prefixed but an SGROUP was encountered on the wire, it would invoke the fallback. This behavior is now updated: the parser will solely look at the tag when dealing with submessages.

This increases the flexibility of the parser and will make our Editions rollout smoother.

PiperOrigin-RevId: 617275654
Copy link

github-actions bot commented Apr 4, 2024

Auto-closing Copybara pull request

@github-actions github-actions bot closed this Apr 4, 2024
@github-actions github-actions bot deleted the test_617275654 branch April 4, 2024 10:01
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