spring-projects / spring-boot

Spring Boot
https://spring.io/projects/spring-boot
Apache License 2.0
74.92k stars 40.63k forks source link

Support custom scalar types with MapBinder #27696

Open philwebb opened 3 years ago

philwebb commented 3 years ago

Currently scalar types in the MapBinder are restricted to a very limited set. We could also allow custom types to be supported, perhaps via a @ScalarValue annotation on the bound class.

philwebb commented 3 years ago

We might want to fix #14796 first so that IDEs work.

davoudsa commented 2 years ago

Can you provide more information that which project this is related to? Would like to investigate and work on this enhancement

snicoll commented 2 years ago

@davoudsa thanks for the offer but we can't guide you at this point as we need to investigate the problem a little more. I have added a label accordingly.