EarthChen commented on code in PR #13446:
URL: https://github.com/apache/dubbo/pull/13446#discussion_r1411781264
##########
dubbo-rpc/dubbo-rpc-triple/src/test/java/org/apache/dubbo/rpc/protocol/tri/DescriptorService.java:
##########
@@ -68,6 +68,17 @@ public interface DescriptorService {
void sayHelloServerStream2(Object request, StreamObserver<Object> reply);
+ /**
+ * obtain actual type in streamObserver
+ */
+ void serverStream1(Object request, StreamObserver<String> streamObserver);
+
+ void serverStream2(Object request, StreamObserver<DataWrapper<String>>
streamObserver);
Review Comment:
like ```A<B<C>>``` is fine?
##########
dubbo-rpc/dubbo-rpc-triple/src/test/java/org/apache/dubbo/rpc/protocol/tri/DescriptorService.java:
##########
@@ -68,6 +68,17 @@ public interface DescriptorService {
void sayHelloServerStream2(Object request, StreamObserver<Object> reply);
+ /**
+ * obtain actual type in streamObserver
+ */
+ void serverStream1(Object request, StreamObserver<String> streamObserver);
+
+ void serverStream2(Object request, StreamObserver<DataWrapper<String>>
streamObserver);
Review Comment:
like ```A<B<C>>``` is fine?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]