Skip to content

add ValueObjectOrError<T> On IVogen interface #878

@HandomeBoy123890809f

Description

@HandomeBoy123890809f

Describe the feature

When TryFromGeneration is set to GenerateBoolAndErrorOrMethods or GenerateErrorOrMethod, and StaticAbstractsGeneration is set to MostCommon, IVogen does not automatically generate the following method:

static abstract bool TryFrom(TPrimitive value, out TSelf{questionMarkForTSelf} vo);

Adding the feature itself would be straightforward, but since I am not familiar with how to add source generator tests on macOS, and to avoid submitting an incorrect change, I did not open a pull request and instead submitted this feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions