Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
--services
is not passed on the CLIMajor version that breaks code for every user. Sorry!
foo.proto
is produced in foo.ml
and foo.mli
. This follows a fairly large internal refactor that enables a plugin architecture internally (which facilitated codegen for services). All encoder/decoder functions also have a new name now, so that they don't collide inside the same file.--this-style
rather than -this-style
pbrt_services
runtime libraryservice
statements. This is a big feature for users who want to implement RPC systems using protobuf. The generated code is agnostic to whatever RPC implementation will use it, it only packs together RPC method names and path with the relevant encoders/decoders. Services require both JSON and binary encoders/decoders to be present.pbrt_yojson
into the main ocaml-protoc repo--make
flag to generate make
functions that take fewer optional arguments. This helps preventing the user from forgetting important arguments when they're encoding to protobuf. Arguments actually marked as optional
in the .proto file are still optional.(validate.rules).message.required
ocaml-protoc.compiler-lib
`unsigned
internal changes:
optional
in proto3 filesstream
as a name (#179)pbrt
, with a separate opam package