ipfs / protons

Protocol Buffers for Node.js and the browser without eval
Other
32 stars 23 forks source link

fix: remove writing default values #88

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

With correct singular/optional handling it's not necessary to write default values.

This was previously implemented to write default values for repeated message fields where all fields were singular but those messages are written as zero-length buffers and their fields are set to the default value during decoding so there's no reason to have their values in the buffer.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version protons-v7.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 3 months ago

:tada: This issue has been resolved in version 3.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: