dubbo接口定义了两个重载方法

```java
public String sayHello(String name);

public String sayHello(String name, String nickname);
```

------

但dubbo-js未能够进行区别调用,源码也验证了这一点:

```js
Object.keys(methods).forEach(name => {
      proxyObj[name] = async (...args: any[]) => {
        log('%s create context', name);
        //创建dubbo调用的上下文
        const ctx = Context.create();
        ctx.application = application;
        ctx.isSupportedDubbox = isSupportedDubbox;
        const method = methods[name];
        ctx.methodName = name;
        ctx.methodArgs = method.call(provider, ...args) || [];
...
```

[ Full content available at: https://github.com/apache/dubbo-js/issues/195 ]
This message was relayed via gitbox.apache.org for 
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to