Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
New generator options for oneofs: allow skipping or generating as normal 'optional...
[apps/agl-service-can-low-level.git]
/
generator
/
proto
/
nanopb.proto
diff --git
a/generator/proto/nanopb.proto
b/generator/proto/nanopb.proto
index
e830ec2
..
a1b2493
100644
(file)
--- a/
generator/proto/nanopb.proto
+++ b/
generator/proto/nanopb.proto
@@
-53,6
+53,9
@@
message NanoPBOptions {
// Skip this message
optional bool skip_message = 6 [default = false];
// Skip this message
optional bool skip_message = 6 [default = false];
+
+ // Generate oneof fields as normal optional fields instead of union.
+ optional bool no_unions = 8 [default = false];
}
// Extensions to protoc 'Descriptor' type in order to define options
}
// Extensions to protoc 'Descriptor' type in order to define options