You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Protocol Buffers to transmit data from a Python project into a Rails project. I'm using a .proto file (in v3 syntax) and the protoc compiler to guarantee the data is being transferred in a format both sides understand. As a consequence, the Ruby class def for the message does not expose the same API. In particular, the all_fields method does not exist, which breaks to_proto.
The text was updated successfully, but these errors were encountered:
This is currently written to be compatible with the ruby-protobuf/protobuf gem, which does not yet support the v3 Protocol Buffers syntax. Happy to review a PR if you'd like to take a crack at making this compatible.
I've reverted to v2 for the moment so I can use the lib as-is. I started a fork to add side-by-side support for the google-protobuf gem so I could add v3 support, but they require different versions of protoc, and I didn't have time to work through all the details of how ruby-protobuf patches in Ruby support to the old protoc.
I'm trying to use Protocol Buffers to transmit data from a Python project into a Rails project. I'm using a
.proto
file (in v3 syntax) and theprotoc
compiler to guarantee the data is being transferred in a format both sides understand. As a consequence, the Ruby class def for the message does not expose the same API. In particular, theall_fields
method does not exist, which breaksto_proto
.The text was updated successfully, but these errors were encountered: