Vogen
Vogen copied to clipboard
IConvertible Support
Describe the feature
Currently the generated code for the ValueObjects doesn't include a implementation of the IConvertible interface, meaning the Convert.XXX methods will throw an exception when dynamically converting value objects to their underlying type based on System.Type and back again. Seeing as there's already IParsable, IFormattable support IConvertible would be a logical extension.
A workaround does exist by using the typeconverter from Conversions.TypeConverter.
Thank you for the feedback - that sounds like a very worthy addition. I'll definitely add this when time permits.