Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Validator] ExpressionValidator should use OBJECT_TO_STRING to allow value in message #24595

Copy link
Copy link
Closed
@Hanmac

Description

@Hanmac
Issue body actions
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version 3.3.10

ExpressionValidator should use OBJECT_TO_STRING for formatValue,
so i can use {{ value }} inside the message and it isn't replaced with just 'object'

i don't think it's more like a feature request then a pure bug,
so i didn't make a (simple) pull request jet, but wait what you guys think about it.

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.