ipfs / protons

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

fix: throw when unsupported fields are detected #80

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

required is a field in proto2 but not in proto3 so throw if it is encountered while generating .ts from .proto.

It would be better to detect proto2 from the syntax directive but it's not in the output of the pbjs -t json command.

Fixes #34

github-actions[bot] commented 1 year ago

:tada: This PR is included in version protons-v6.1.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: