Skip to content

Not all types with a string constructor can be used #339

@shmuelie

Description

@shmuelie

The README states:

You can also map to every type with a constructor that accepts a string (like System.Uri).

That's not true, as the code does a check and only classes with a constructor that except a string will be used. If the type is a struct/value type the constructor will not be used. While I'd like this to be changed to match the README and work for value types too, at least update the README please.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions