fix nil dereference (#10)

This commit is contained in:
Joshua Humphries
2018-02-19 22:28:26 -05:00
committed by GitHub
parent 2a6ef4e19e
commit 620796528e
6 changed files with 46 additions and 2 deletions

19
testing/example.proto Normal file
View File

@@ -0,0 +1,19 @@
syntax = "proto3";
import "google/protobuf/descriptor.proto";
import "google/protobuf/empty.proto";
import "google/protobuf/timestamp.proto";
message TestRequest {
repeated string file_names = 1;
}
message TestResponse {
map<string, google.protobuf.FileDescriptorProto> file_protos = 1;
google.protobuf.Timestamp last_update_date = 2;
}
service TestService {
rpc GetFiles (TestRequest) returns (TestResponse);
rpc Ping (google.protobuf.Empty) returns (google.protobuf.Empty);
}

BIN
testing/example.protoset Normal file

Binary file not shown.

Binary file not shown.