danielgtaylor / python-betterproto

Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC
MIT License
1.5k stars 211 forks source link

Is proto2 syntax supported? #6

Closed twmr closed 4 years ago

twmr commented 4 years ago

The example in the readme uses proto3 syntax. Is proto2 syntax also supported? Please mention this in the readme. Thx

danielgtaylor commented 4 years ago

@thisch no, only proto3 is supported. I don't plan to support proto2 features but I'll try to make that more clear in the README.

twmr commented 4 years ago

Good to know. Yesterday I tested python-betterproto with a proto2 proto file and the protoc plugin seemed to handle this file.