10000 [Validator] Add error code to constraints · Issue #10413 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
[Validator] Add error code to constraints #10413
Closed
@andyj8

Description

@andyj8

Seems to me that most APIs will assign unique error codes to each potential validation error, in addition to human-readable messages.

Before considering a PR, I wonder what the consensus on adding the ability to add a 'code' property to each field constraint would be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0