You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "cyejing (GitHub)" <gi...@apache.org> on 2019/04/01 09:09:29 UTC

[GitHub] [incubator-dubbo] cyejing commented on issue #3779: problem with generic parameters when using fastjson serialization

这个打算怎么修复呢? 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