You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/05/19 15:56:15 UTC
[GitHub] [servicecomb-java-chassis] HoyerIsAlexander opened a new issue #1213: rpc提供方方法重名,导致消费方调用时,报方法名找不到的错误
HoyerIsAlexander opened a new issue #1213: rpc提供方方法重名,导致消费方调用时,报方法名找不到的错误
URL: https://github.com/apache/servicecomb-java-chassis/issues/1213
Version:1.1.0.B036
消费方Api定义rpcApi,两个方法,sayHi()、sayHi(Request request),分别用ApiOperation注解nickName="sayHi",nickName="sayHiHasRequest",消费方调用rpcApi.sayHi()时,报Consumer method sayHi not exist。
想问下是使用方法不对,还是本身的问题,跟踪源码发现,方法重名的时候,Map<String, SwaggerConsumerOperation> opMap = new HashMap<>();中没有保存重名方法的数据。
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services