Skip to content

Return untainted value #1

Description

@merkys

First, thanks for this module. I have noticed that most of the modules under Data::Validate:: namespace use the same convention for their return values. If the validated value is valid, they return the untainted value, otherwise undef. Data::Validate::UUID differs from this convention by returning truthy/falsey. Would it be possible to change the API to match the others under Data::Validate::? Note that the change would be backwards compatible, as any valid UUID matches truthy and undef matches falsey.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions