Skip to content

All validators should accept the equals= argument #262

@brianthelion

Description

@brianthelion

Sometimes you need to check for constants. This works nicely for str(...) but not for any of the other validators.

The workaround is to use enum(...) with a single constant value, which doesn't seem particularly idiomatic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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