Skip to content

Don't force people to use the validation in a static manner #2

@togakangaroo

Description

@togakangaroo

Currently, if someone were to use this in their project, there would be no way of stubbing it out in their unit tests. I recommend creating an interface for this and using an instance class that implements the interface. A few static methods that just use a singleton instance could also be provided for people who prefer to use things that way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions