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
[^5] The plugin supports changing the type for scalar types to
60
+
[^4]: The plugin supports changing the type for scalar types to
61
61
int/int64/int32. See options section below.
62
62
63
63
A message <name> declaration is compiled to a module <Name> with a record type
@@ -116,16 +116,15 @@ can generate the Ocaml code by running
116
116
| int32\_as\_int | Map \*int32 types to int instead of `int32`|`int32_as_int=false`| true |
117
117
| fixed\_as\_int | Map \*fixed\* types to `int`|`fixed_as_int=true`| false |
118
118
| singleton\_record | Messages with only one field will be wrapped in a record |`singleton_record=true`| false |
119
-
| prefix\_output\_with\_package | Emit files prefixed with their package name. This allows multiple protofiles of the same name with different package names to be used |`prefix_output_with_package=true`[^6]| false |
119
+
| prefix\_output\_with\_package | Emit files prefixed with their package name. This allows multiple protofiles of the same name with different package names to be used |`prefix_output_with_package=true`[^5]| false |
120
120
| singleton\_oneof\_as\_option | Oneof declarations only containing one field are mapped to a single optional field | singleton\_oneof\_as\_option=false | true |
121
121
122
122
Parameters are separated by `;`
123
123
124
-
[^6] When using this option, all dependencies needs to be compiled
124
+
[^5]: When using the `prefix_output_with_package=true` option, all dependencies needs to be compiled
125
125
using this option as well. E.g. if the protobuf file dependes on
126
-
*google well known types*, you will need to rebuild using
127
-
`prefix_output_with_package=true` as
128
-
well. This dune file
126
+
*google well-known types*, you will need to rebuild using
127
+
`prefix_output_with_package=true` as well. This dune file
0 commit comments