We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f658df commit ab9857bCopy full SHA for ab9857b
betterproto/tests/inputs/googletypes_service_returns_googletype/googletypes_service_returns_googletype.proto
@@ -0,0 +1,16 @@
1
+syntax = "proto3";
2
+
3
+import "google/protobuf/empty.proto";
4
+import "google/protobuf/struct.proto";
5
6
+// Tests that imports are generated correctly when returning Google well-known types
7
8
+service Test {
9
+ rpc GetEmpty (RequestMessage) returns (google.protobuf.Empty);
10
+ rpc GetStruct (RequestMessage) returns (google.protobuf.Struct);
11
+ rpc GetListValue (RequestMessage) returns (google.protobuf.ListValue);
12
+ rpc GetValue (RequestMessage) returns (google.protobuf.Value);
13
+}
14
15
+message RequestMessage {
16
0 commit comments