ok bismy <[email protected]> 于2018年10月27日周六 下午3:14写道:
> I am going to make it default to true. And add some release notes about > this change. > Our compatible rule is making things better by default, and users can > change to old feature when integration. Or we can not implement new > features due to users bad practices. > > > > > ------------------ 原始邮件 ------------------ > 发件人: "zzzwjm"<[email protected]>; > 发送时间: 2018年10月27日(星期六) 中午11:05 > 收件人: "dev"<[email protected]>; > > 主题: Re: [DISCUSSION java-chassis]scan RestController to to make springmvc > controller publish as ServiceComb Rest easier > > > > +1 > > but, what's default value of servicecomb.rest.service.scanRestController > if to be true, then can make spring mvc controller publish as ServiceComb > Rest easier, but maybe not compatible > but if to be false, then this feature is not so useful? > > bismy <[email protected]> 于2018年10月27日周六 上午10:57写道: > > > Hi all, > > > > > > I am going to implement a feature that scan beans with @RestController > > annotation, and taken it same as: > > 1. @RestSchema(schemaId = class.getName()) > > 2. @RequestMapping("/") > > > > > > Consider some users want to make use of both spring mvc controller and > > ServiceComb REST, we add a configuration > > servicecomb.rest.service.scanRestController > > to turn off this feature. > > > > > > Any suggestions?
