Closed
Description
Since 5.3.1 version null, passed for required nullable parameter throws Exception "is not present"
@RequestMapping("/findTree")
public void findTree(@RequestParam("parentId") Long parentId) {
if (parentId == null) {
//Root
} else {
//Is not root
}
}
now, i send request "/myurl/findTree?parentId="
Expected behavior - parameter parentId
passed to method as null
Current behavior - exception within AbstractNamedValueMethodArgumentResolver