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/12/02 02:00:19 UTC

[GitHub] [servicecomb-java-chassis] 3254365436 commented on issue #1426: 以前ResultResponse这样的返回类型,契约支持,新升级版本CSE 2.3.75.RC1后不支持了

3254365436 commented on issue #1426: 以前ResultResponse<?>这样的返回类型,契约支持,新升级版本CSE 2.3.75.RC1后不支持了
URL: https://github.com/apache/servicecomb-java-chassis/issues/1426#issuecomment-560194390
 
 
   > 根据设计,这种使用方式是不支持的,老版本应该也不支持。 因为 `?` 无法通过契约描述。 可以将 `? ` 修改为具体类型。 参考[泛型支持](https://docs.servicecomb.io/java-chassis/zh_CN/build-provider/interface-constraints.html)
   > 
   > ```
   > 当用户使用隐式契约功能自动生成微服务契约时,需要在provider接口方法的返回消息中明确指定泛型类型,以保证 ServiceComb-Java-Chassis 生成的契约中包含足够的接口信息
   > ```
   
   我们用了很久老版本了,一直是支持的呀。可以私下联系我,谢谢:huyanqiang3@huawei.com

----------------------------------------------------------------
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