Open 1996yarbrough opened 5 years ago
caused: io.github.chujianyun.bean.MultiRequestBodyArgumentResolver.parsePrimitive final String charTypeName = "char"; if (charTypeName.equals(parameterTypeName)) { return value.toString().charAt(0); }
I think this situation should throw an exception.
class : io.github.chujianyun.controller.DemoController method: multiRequestBodyDemo1 my parameter : {"id":22} multiRequestBodyDemo1 received data : 2
caused: io.github.chujianyun.bean.MultiRequestBodyArgumentResolver.parsePrimitive final String charTypeName = "char"; if (charTypeName.equals(parameterTypeName)) { return value.toString().charAt(0); }
I think this situation should throw an exception.