• Phillip Webb's avatar
    Fix bind TypeConverter delegation with collections · 3dea6fc6
    Phillip Webb authored
    Update `BindConverter` so that delegation to `SimpleTypeConverter` also
    works with Collections and Arrays.
    
    Prior to this commit, conversion that relied on a `PropertyEditor` would
    only work for simple types. For example, "String -> Class<?>" would use
    the `ClassEditor` but "String -> List<Class<?>>" would fail.
    
    The `BindConverter` now uses a minimal `ConversionService` as an adapter
    to the `SimpleTypeConverter`. This allows us to use the same delimited
    string conversion logic as the `ApplicationConverter`.
    
    Fixes gh-12166
    3dea6fc6
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...