• 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
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
pom.xml Loading commit data...