Skip to content

Composite probably should not be @internal #37348

Closed
@vudaltsov

Description

@vudaltsov

Symfony version(s) affected: 5.1

@xabbuh , I think that Composite should not be @internal. Even with the new @Compound constraint Composite is still useful for complex custom validators.

For example, I have @ExcelColumn(string $column, array $constraints) that checks that all cells in a column of an uploaded Excel file are valid. This cannot be expressed with @Compound.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)Status: Needs ReviewValidator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions