Closed D4nte closed 2 years ago
Note that I am doing a PR where I add a CLI option --no-default-on-wire
that conforms to the proto3 language guide behaviour when passed. should be ready by EOW.
2022-09-02 triage conversation:
Next steps: we need to agree on how we're denoting:
Maintainers need to look at what's been described in this issue and cross reference with protobuff documentation and other implementations.
:tada: This issue has been resolved in version protons-runtime-v4.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version protons-v6.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Proto3 language guide states:
Looking at
protons
's code and behaviour, it is clear that:undefined
(expected: set to the default value of the field).Default values are type-specific:
I see that the tests are done against pbjs, this package states:
Is the choice to not follow the proto3 language guide regarding default value on purpose in
protons
?Keen to open a PR, I can see two ways forward: