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?
