-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The component may have a dependency type which is generally compatible with injected implementation but this conversion is not supported by default type converters. For example DictionaryDescriptor
always constructs IDictionary<string,object>
and if dependency type is IDictionary<string,string>
there will be an injection error. It is possible to have type converter that handles that automatically and creates compatible implementation if possible.
In general, it makes sense to introduce some kind of ITypeConverter
to allow app-specific extensions for the implicit type casts.
Metadata
Metadata
Assignees
Labels
No labels