[SPRNET-1471] Set IDictionary<K,V> property using non-generic <dictionary/> element. Created: 28/Sep/11 Updated: 15/Nov/11 Resolved: 15/Nov/11
|Fix Version/s:||2.0 M1|
|Reporter:||Choy Rim||Assignee:||Steve Bohlen|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Setting a List<T> property is supported by automatic conversion from ICollection to List<>. Something similar for IDictionary<K,V> properties should be supported.
|Comment by Choy Rim [ 28/Sep/11 ]|
This improvement also alludes to support for IEnumerable<T>, ICollection<T> and other well-known generic interfaces.
But at that point TypeConversionUtils starts to smell of a hidden abstraction. Perhaps we need to expand upon the TypeConverter infrastructure to support type conversion for generic types. ConvertFrom is probably still usable. Perhaps all it requires is an alternate type converter registry.
|Comment by Steve Bohlen [ 15/Nov/11 ]|
Fixed in Pull 6 https://github.com/SpringSource/spring-net/pull/6