You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey -- I'm trying to import a proto definition, and what I'm trying to do isn't covered by an existing test case, so I couldn't model it off of that.
Basically I want to import the struct definition from google.protobuf
// have tried "google.protobuf", "google.protobuf.struct", "google.protobuf.struct.proto"// "google/protobuf/struct" to no availimport"google.protobuf";
messageResponse {
enumStatusCode {
SUCCESS=0;
FAILURE=1;
CANCELLED=2;
}
StatusCodestatus=1;
// I've tried permutations of `Struct`, `google.protobuf.Struct` to no availrepeatedStructdata=2;
}
But when I call mix grpc.gen I get Reference to undefined message Struct... I would expect the import
to throw an exception if it was invalid, so I'm having trouble figuring out if my import is wrong or my proto3 type definition is wrong.
similar to this test case, except I want to use WrongAuthorizationHttpMessage inside of the WebsocketServerContainer message, for example.
Any thoughts or guidance?
The text was updated successfully, but these errors were encountered:
Hey -- I'm trying to import a proto definition, and what I'm trying to do isn't covered by an existing test case, so I couldn't model it off of that.
Basically I want to import the struct definition from
google.protobuf
But when I call
mix grpc.gen
I getReference to undefined message Struct
... I would expect the importto throw an exception if it was invalid, so I'm having trouble figuring out if my import is wrong or my proto3 type definition is wrong.
similar to this test case, except I want to use
WrongAuthorizationHttpMessage
inside of theWebsocketServerContainer
message, for example.Any thoughts or guidance?
The text was updated successfully, but these errors were encountered: