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
Copy file name to clipboardExpand all lines: README.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,11 +116,19 @@ 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`| 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 |
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
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
0 commit comments