-
```
syntax = "proto2";
package src.main.hello;
message SayHelloRequest {
optional string name = 1;
}
message SayHelloResponse {
optional string message = 1;
}
service HelloWorldServ…
-
```
goog.proto2.PbLiteSerializer serializes booleans in numeric form (i.e. 1 for
true, 0 for false) [1].
goog.proto2.ObjectSerializer serializes as javascript booleans (i.e. true,
false) [2].
Usin…
-
We should preserve unknown fields and enums in proto2 messages.
From the docs:
https://developers.google.com/protocol-buffers/docs/proto
> Similarly, messages created by your new code can be parsed …
judah updated
7 years ago
-
Suppose I have a proto file with a recursive message:
```rust
syntax = "proto2";
package foo;
message Foo { required Foo x = 1; }
```
`prost-build` will generate this struct:
```rust
…
-
```
goog.proto2.PbLiteSerializer serializes booleans in numeric form (i.e. 1 for
true, 0 for false) [1].
goog.proto2.ObjectSerializer serializes as javascript booleans (i.e. true,
false) [2].
Usin…
-
```
goog.proto2.PbLiteSerializer serializes booleans in numeric form (i.e. 1 for
true, 0 for false) [1].
goog.proto2.ObjectSerializer serializes as javascript booleans (i.e. true,
false) [2].
Usin…
-
```
goog.proto2.PbLiteSerializer serializes booleans in numeric form (i.e. 1 for
true, 0 for false) [1].
goog.proto2.ObjectSerializer serializes as javascript booleans (i.e. true,
false) [2].
Usin…
-
```
goog.proto2.PbLiteSerializer serializes booleans in numeric form (i.e. 1 for
true, 0 for false) [1].
goog.proto2.ObjectSerializer serializes as javascript booleans (i.e. true,
false) [2].
Usin…
-
```
goog.proto2.PbLiteSerializer serializes booleans in numeric form (i.e. 1 for
true, 0 for false) [1].
goog.proto2.ObjectSerializer serializes as javascript booleans (i.e. true,
false) [2].
Usin…
-
### What problem is this feature trying to solve?
Google protobuf compiler complains about the protobuf files not specifying their syntax-version, and there's no way to disable that warning. Thus bui…