ChangedenCZD commented on issue #1454: URL: https://github.com/apache/dubbo-go/issues/1454#issuecomment-920506247
**解决方案** hessian.RegisterPOJO时支持同JavaClass不同go struct(包路径不同) **有关改动** dubbo-go/protocol/dubbo/impl/hessian.go - 反序列化响应体时需传入对应函数的返回值,用于推断对应的go struct - 若不传入函数的返回值,则使用首次通过hessian.RegisterPOJO注册的JavaClass对应的go struct(与旧逻辑一致) dubbo-go-hessian2 - 改动较大 - 需要从hessian.RegisterPOJO开始支持同JavaClass不同go struct(包路径不同) - 有关调用了getStructInfo、getStructDefByIndex的地方都需要改动 -- 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]
