Skip to content

AVD::Constraints::Unique allows non Indexable values #139

@Blacksmoke16

Description

@Blacksmoke16

https://github.com/athena-framework/athena/blob/master/src/components/validator/src/constraints/unique.cr#L60

This should be another overload of validate not compare_values. As of now AVD.validator.validate 123, AVD::Constraints::Unique.new is valid when it shouldn't be.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions