protobuf-ruby / beefcake

A sane Google Protocol Buffers library for Ruby
MIT License
276 stars 46 forks source link

.proto file generator #68

Closed danielpclark closed 9 years ago

danielpclark commented 9 years ago

Feature Request

Currently you have proto to ruby. I'd love it to have a generator the other way as well. Write first in Ruby, then export to .proto files for other devs to use.

danielpclark commented 9 years ago

I'd be interested in helping if that's what you would need for this.

bkerley commented 9 years ago

I don't have a particular use for this, but it sounds like a fun project! I'd recommend putting it in its own gem, since versioning a ruby to protobuffs compiler would mostly be independent of this serialization library's version.

danielpclark commented 9 years ago

Good point! I may get started on this shortly.

bkerley commented 9 years ago

Cool! If you want some of the internal beefcake APIs about fields on an object to be made public/reliable/static, we can probably do that.