Raffaele Litto opened SPR-13415 and commented
Spring @ModelAttribute
has no way to support builder pattern, unlike support introduced into Jackson: (check http://wiki.fasterxml.com/JacksonFeatureBuilderPattern)
Use cases where this could be worth being useful:
mapping query arguments to bean like in:
/entity/search?id=23&status=OPEN&pageSize=10&page=1
to a method like
List<EntityDTO> searchEntities(HttpServletRequest request, @ModelAttribute
EntitySearchDTO searchDTO)
Reference URL: http://stackoverflow.com/questions/31141945/cannot-instantiate-a-pojo-with-jackson-3-with-builder-pattern
Comment From: spring-projects-issues
Raffaele Litto commented
Clarified the initial request, I realized that it was not a missing feature for jackson support but simply Spring binding that had no simple way of binding to builder pattern dtos
Comment From: spring-projects-issues
Bulk closing outdated, unresolved issues. Please, reopen if still relevant.
Comment From: randakar
Looks still relevant to me. Especially with lombok's Builder annotation this would be really useful.
Comment From: szewczykdawid
Looks relevant to me as well.