Feature-Flip / flips

Repository for feature flip library which provides various annotations to flip any feature. Works with Java8, Spring, Spring Boot
57 stars 7 forks source link

filp seems does not work #5

Open shangmingzhen opened 4 years ago

shangmingzhen commented 4 years ago

hello, i use filp in my project, while, it seems that reqest does not going to flip AOP. here is my main step: first : add dependency

com.github.feature-flip flips-core 1.0.1

then use in controller @RequestMapping(value = "/getUserByNickName", produces = {"application/json;charset=UTF-8"}, method = RequestMethod.GET) @FlipOnEnvironmentProperty(property = "test.pure.newwork", expectedValue = "Y") public JSONObject getUserByNickName(String nickName){ JSONObject userInfo = userService.getUserByNickName(nickName); return userInfo; }

it is nice to hear your reply.