Skip to content

Allow using Type for [ValueProvider] #56

Description

Hello! I am really enjoying the annotations. One thing that bugs me a bit is that [ValueProvider] only supports the type name as a raw string, which makes sense in a lot of cases. In my case, the type is in the same assembly and using [ValueProvider(typeof(MyConstants))] would be a lot cleaner, just as [BaseTypeRequired] already does.
Is this a possible constructor overload to add or are there some caveats to it?
Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions