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

fix: calculate default value len when use pb encode default value feature #277

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

Ggiggle
Copy link
Contributor

@Ggiggle Ggiggle commented Oct 18, 2024

Motivation

When the pb-encode-default-value feature is turned on, the length calculation is not taken into account, resulting in serialization errors.

Solution

Don't skip the default value len calculation.

@Ggiggle Ggiggle requested review from a team as code owners October 18, 2024 14:14
@Ggiggle Ggiggle changed the title fixencode default len fix: calculate default value len when use pb encode default value feature Oct 18, 2024
@Ggiggle Ggiggle force-pushed the fix/encode_default_len branch from d5fcaec to 00089d8 Compare October 18, 2024 14:18
@PureWhiteWu PureWhiteWu merged commit 5a06bf8 into main Oct 18, 2024
10 checks passed
@PureWhiteWu PureWhiteWu deleted the fix/encode_default_len branch October 18, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants