mransan/ocaml-protoc

Add support for custom options

Closed this issue · 1 comments

This would be important in proto3 since optional keyword is no longer supported. We would need to introduce a custom field option to tag field as optional to improve the OCaml generated types.

#35 implements ocaml_type custom option to specify that a field should be encoded as int