Ocaml_protoc_compiler_lib.Pb_raw_optionSourceProtobuf File/Message/Field raw options (i.e. exactly as they parsed)
merge s1 s2 adds all the options from s2 to s1. This means than in case of duplicates s2 options will override s1 options.
group_list_values set groups options with the same name into Pb_option.List_literal
The following set of options:
option (google.api.http).additional_bindings = {
get: "/foo/bar/baz/{id}"
};
option (google.api.http).additional_bindings = {
post: "/foo/bar/baz/"
body: "*"
};Is equivalent to the below non-destructured version:
option (google.api.http) = {
additional_bindings: [
{
get: "/foo/bar/baz/{id}"
},
{
post: "/foo/bar/baz/"
body: "*"
}
]
};