Skip to content

[DoctrineBridge] Embeddables are not read properly while introspecting validator's PropertyMetadata #31743

Closed
@phansys

Description

@phansys

Symfony version(s) affected: 4.3.0

Description
Doctrine's embeddables are not read properly while introspecting validator's PropertyMetadata:

                                                                                             
  [Symfony\Component\Validator\Exception\ValidatorException]                                 
  Property "embeded_class.some_property" does not exist in class "App\Entity\MyEntity"  
                                                                                             

How to reproduce

Update symfony/doctrine-bridge (v4.2.9 => v4.3.0)

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