Spring MVC - Kotlin: Cannot bind MultipartFile in constructor [SPR-17640] #22169
When using spring mvc with Kotlin, I prefer to use data classes with immutable fields. This works for most cases. However, when I'm using MultipartFile as a field on a request object, I am forced to use a var field and make the field nullable in order to get it to work.
I've attached a sample project exhibiting this behavior. Just follow the instructions in the README.txt.
The text was updated successfully, but these errors were encountered: