Skip to content

feat(generator/rust): enums with bad defaults#1389

Merged
coryan merged 1 commit intogoogleapis:mainfrom
coryan:feat-generator-rust-support-enums-with-no-obvious-default
Feb 27, 2025
Merged

feat(generator/rust): enums with bad defaults#1389
coryan merged 1 commit intogoogleapis:mainfrom
coryan:feat-generator-rust-support-enums-with-no-obvious-default

Conversation

@coryan
Copy link
Collaborator

@coryan coryan commented Feb 27, 2025

Initialize enums with no obvious default to the empty string. None of
the Google Cloud enums need this, but we will use it to generate
google.protobuf.ProtoDescriptor.

Part of the work for #37

Initialize enums with no obvious default to the empty string. None of
the Google Cloud enums need this, but we will use it to generate
`google.protobuf.ProtoDescriptor`.
@coryan coryan marked this pull request as ready for review February 27, 2025 20:54
@coryan coryan enabled auto-merge (squash) February 27, 2025 20:54
@codecov
Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.96%. Comparing base (dfcd1c4) to head (0c8edf9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1389   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files          37       37           
  Lines        1462     1462           
=======================================
  Hits         1403     1403           
  Misses         59       59           

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

@coryan coryan merged commit 2af1cfb into googleapis:main Feb 27, 2025
19 checks passed
@coryan coryan deleted the feat-generator-rust-support-enums-with-no-obvious-default branch February 27, 2025 21:04
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.

2 participants