Closed tmazeika closed 8 years ago
Syntax with service not support.
syntax = "proto3";
option java_package = "play";
package play;
// The request message containing the user's name.
message HelloRequest {
string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
}
// The greeter service definition.
service Greeter {
// Sends a greeting
rpc SayHello (HelloRequest) returns (HelloReply) {}
rpc SayHelloToThem(HelloRequest) returns (stream HelloReply) {}
rpc SayHelloToAll(stream HelloRequest) returns (stream HelloReply) {}
}
It would be nice to have support for proto3. Thanks for the work you have put in to create this plugin.
+1 for proto3 support
+1
+1
Pretty please :)
+1
+1
+1. Thanks!
@tcripps Thanks a lot for this fix!
Thanks !
It seems that the proto3 syntax is unsupported, as errors occur when I remove
required
andoptional
keywords, as required by proto3. While it is still in alpha, basic support for it may at least alleviate the littering of errors all over the file.