Closed ctoomey closed 3 years ago
Thanks @shubhendumadhukar, I verified that it works.
On Mon, Jul 26, 2021 at 10:07 PM Shubhendu Madhukar < @.***> wrote:
@ctoomey https://github.com/ctoomey
I have made a small change to fix this error. A fix that seems to resolve this error, however I'll admit I am not very confident with the fix, since I don't have an extensive background working with gRPC services. Would you be able to validate if the fix works before I close this?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/testinggospels/camouflage/issues/73#issuecomment-887212449, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARECPEWYU5RSVJ5UUIUSBTTZY5HXANCNFSM5BA26HHA .
Describe the bug The following error is reported by the server upon startup when the proto file below is included in
grpc/protos
:To Reproduce Steps to reproduce the behavior:
grpc/protos
:package com.livongo.protobuf.grpc.internal_non_production.template;
import "google/protobuf/wrappers.proto"; import "google/api/annotations.proto";
/**
HelloWorld++ service. Has unary and streaming APIs. */ service HelloWorld { / Pass in your name and get back a clever, personalized greeting! */ rpc SayHello (ToBeGreeted) returns (Greeting) { option (google.api.http) = { post: "/v1/sayhello" }; } /* Pass in a message and have it echoed back with embellishments! / rpc SayAnything (Greeting) returns (Greeting) { option (google.api.http) = { post: "/v1/sayanything" }; } /
// Pass in a stream of numbers (e.g., output from GenIntStream), and it returns a stream of min/max messages, // with an updated message emitted whenever the min and/or max seen so far in the input changes. rpc IntStreamToStatsStream (stream google.protobuf.Int32Value) returns (stream MinMax) { option (google.api.http) = { post: "/v1/intStreamToStatsStream" }; } }
// This is doc for message message ToBeGreeted { message Person { string name = 1; }
}
message Greeting { string message = 1; }
message Nothing { }
message MinMax { int32 min = 1; int32 max = 2; }
137a138
Here's the log output when the error happens: