Skip to content

protogen: add option PreserveFieldNumbers to support field's Tag Number compatibility#358

Merged
wenchy merged 11 commits intomasterfrom
tag-id
Feb 25, 2026
Merged

protogen: add option PreserveFieldNumbers to support field's Tag Number compatibility#358
wenchy merged 11 commits intomasterfrom
tag-id

Conversation

@Kybxd
Copy link
Copy Markdown
Collaborator

@Kybxd Kybxd commented Feb 9, 2026

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 9, 2026

Codecov Report

❌ Patch coverage is 85.13514% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.10%. Comparing base (fe37408) to head (d67f66c).

Files with missing lines Patch % Lines
internal/protogen/exporter.go 90.62% 1 Missing and 5 partials ⚠️
internal/protogen/protogen.go 50.00% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #358      +/-   ##
==========================================
+ Coverage   74.02%   74.10%   +0.08%     
==========================================
  Files          87       87              
  Lines        8599     8653      +54     
==========================================
+ Hits         6365     6412      +47     
- Misses       1685     1690       +5     
- Partials      549      551       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kybxd Kybxd requested a review from wenchy February 9, 2026 07:58
@wenchy wenchy changed the title feat: ensure compatibility on field numbers protogen: add option PreserveFieldNumbers to support field's Tag Number compatibility Feb 25, 2026
@wenchy wenchy mentioned this pull request Feb 25, 2026
41 tasks
@wenchy wenchy merged commit b2c13cb into master Feb 25, 2026
9 checks passed
@wenchy wenchy deleted the tag-id branch February 25, 2026 09:28
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.

protogen: guarantee message field's Tag Number compatibility

2 participants