Skip to content

IConvertible Support #780

@StealthyDeveloper

Description

@StealthyDeveloper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions