Remove Option
from struct composition
#1310
-
Greetings! Why generated code use syntax = "proto3";
package hello;
///////////////////////////////////////////////////////////////
// Data
///////////////////////////////////////////////////////////////
message Foo {
uint32 id = 1;
string name = 2;
reserved 3, 4;
}
message Bar {
Bar bar = 1;
} syntax = "proto3";
package hello;
///////////////////////////////////////////////////////////////
// Data
///////////////////////////////////////////////////////////////
message Foo {
uint32 id = 1;
string name = 2;
reserved 3, 4;
}
message Bar {
Bar bar = 1;
} |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Mar 10, 2023
Replies: 1 comment
-
That's just how proto3 works. Nothing rust can do about that. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
BratSinot
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's just how proto3 works. Nothing rust can do about that.