andrewhickman / prost-reflect

A protobuf library extending prost with reflection support and dynamic messages.
https://crates.io/crates/prost-reflect
Apache License 2.0
86 stars 19 forks source link

Fix resolution of field type when it is the same as the field name #100

Closed andrewhickman closed 5 months ago

andrewhickman commented 5 months ago

Fixes #99

codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 80.95238% with 28 lines in your changes are missing coverage. Please review.

Project coverage is 76.65%. Comparing base (d554c53) to head (c25b777).

Files Patch % Lines
prost-reflect/src/descriptor/build/mod.rs 82.27% 14 Missing :warning:
prost-reflect/src/descriptor/build/resolve.rs 83.33% 7 Missing :warning:
prost-reflect/src/descriptor/build/options.rs 80.00% 3 Missing :warning:
prost-reflect/src/dynamic/serde/ser/mod.rs 0.00% 2 Missing :warning:
prost-reflect/src/dynamic/fields.rs 50.00% 1 Missing :warning:
prost-reflect/src/dynamic/text_format/format.rs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #100 +/- ## ========================================== + Coverage 76.30% 76.65% +0.34% ========================================== Files 31 31 Lines 5452 5439 -13 ========================================== + Hits 4160 4169 +9 + Misses 1292 1270 -22 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.