Skip to content

Commit f199dbd

Browse files
committed
Test case to reproduce issue #7641.
1 parent 11c44fb commit f199dbd

File tree

4 files changed

+478
-0
lines changed

4 files changed

+478
-0
lines changed

test/stream/stream.pb.go

Lines changed: 235 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/stream/stream.proto

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Copyright 2017 gRPC authors.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
syntax = "proto3";
16+
17+
option go_package = "google.golang.org/grpc/test/stream";
18+
19+
package test.stream;
20+
21+
import "google/protobuf/timestamp.proto";
22+
23+
message BufferRequest {}
24+
25+
message Buffer {
26+
optional google.protobuf.Timestamp date = 1;
27+
string value = 2;
28+
}
29+
30+
service StreamTest {
31+
rpc StreamBuffer(BufferRequest) returns (stream Buffer) {}
32+
}

0 commit comments

Comments
 (0)