danielgtaylor / danielgtaylor/python-betterproto
oneof with enum : which_one_of returns the wrong value when enum is the first field
Offen
bug
has test
high priority
medium
- Vorherrschende Sprache
- Python
- Sterne
- 1.8k
- Forks
- 234
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
See commit https://github.com/boukeversteegh/python-betterproto/commit/71737cf696bbee0fad726427fe7df167202ea79a
test case `oneof_enum`
Beitragsleitfaden
Rechercherichtung
Review commit 71737cf696bbee0fad726427fe7df167202ea79a and locate the `oneof_enum` test case. Trace how `which_one_of` handles an enum declared as the first field, then verify that it returns the expected value for that case.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100