Skip to content

ValidatorFactory should be allowed to return null #2007

Closed

Description

@cstamas

Affected version

all

Bug description

For simplicity sake, the validator should be allowed to return null for validator, like "abstain" from validation.

Activity

  1. added
    bug
    on Jul 22, 2026
  2. elharo commented on Jul 23, 2026

    @elharo
    Contributor

    What does this mean? Is "null" really the best way to indicate this? true/false/null feels like a boolean anti-pattern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions