dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cyejing (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] cyejing commented on issue #3779: problem with generic parameters when using fastjson serialization
Date Mon, 01 Apr 2019 09:09:29 GMT
这个打算怎么修复呢? provide端拿到的参数类型是序列化出来的一层Class
https://github.com/apache/incubator-dubbo/blob/1df4a21d315421f0f9f101a6bfd6ab8811853e74/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DecodeableRpcInvocation.java#L109

如果可以拿到入参的generic types 就好办了。
还有一种就是开启AutoType的方式,但是希望是服务端和客户端不需要强依赖类型进行序列化。所以才选择用json
你有什么好办法吗?

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3779 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
Mime
View raw message