liqian008 opened a new issue #195: dubbo-js不支持后端java的重载方法 URL: https://github.com/apache/dubbo-js/issues/195 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) || []; ... ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
