danielgtaylor / danielgtaylor/python-betterproto

Explicit zero values can not be distinguished from unset values (that is optional) by SerializeToString

Open
#313 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
1.8k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

I made a demo project to reveal the issue:
https://github.com/wonderbeyond/proto-demo

Contributor guide

Open the contributing guide

Research direction

Start with the demo project at https://github.com/wonderbeyond/proto-demo and reproduce the SerializeToString behavior for explicit zero values versus unset optional values. Trace the generated serialization path in python-betterproto and define done as preserving a distinguishable result for those two cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.