zhushengjun-it opened a new issue #293:
URL: https://github.com/apache/dubbo-go-hessian2/issues/293
<!-- Please use this template while reporting a bug and provide as much info
as possible. Not doing so may result in your bug not being addressed in a
timely manner. Thanks!
-->
**What happened**:
go 1.15
require (
dubbo.apache.org/dubbo-go/v3
v3.0.0-rc4-1.0.20211116041552-b90089d8b8a3
github.com/apache/dubbo-go-hessian2 v1.9.5
)
当我使用以上版本进行和java
dubbo进行通信时,java侧接口的入参为abstract,实际调用的时候为继承这个abstract的子类,这种方式的调用,goClient应该怎么去实现。
**What you expected to happen**:
想要知道goClient这边应该怎么去实现这样的调用
**How to reproduce it (as minimally and precisely as possible)**:
server java bean:
public abstract class Message implements Serializable, Cloneable {
...
...
}
public class TextMessage extends Message implements Serializable{
...
...
...
}
接口:
TestRpcApi func(ctx context.Context, testContent string,
testId int64, message message.Message) (*CommResp, error)
`dubbo:"testRpcApi"`
**Anything else we need to know?**:
--
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]