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.

Comment From: philwebb

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

Comment From: davoudsa

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

Comment From: snicoll

@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.