Skip to content
This repository was archived by the owner on May 22, 2019. It is now read-only.
This repository was archived by the owner on May 22, 2019. It is now read-only.

introduce validation for Value/*Collection #2

@shrink0r

Description

@shrink0r

At the moment the TextCollection and NumberCollection values don't use specific validation rules. They still implement the validation and sanitization within the IValue::set method. This way of handling values being set is deprecated and should be replaced by adequate IRule implementations.
We either need a TextCollectionRule and a NumberCollectionRule, or refactor the existing Text- and NumberRule to support validating arrays.

@see https://github.com/berlinonline/Dat0r/blob/field_path/src/Dat0r/Runtime/Attribute/Value/Type/TextCollectionValue.php#L55

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