doctrine/orm

Validate Embeddables in SchemaValidator

Open

#8052 aperta il 2 mar 2020

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)PHP (2539 fork)batch import
HacktoberfestImprovement

Metriche repository

Star
 (10.176 star)
Metriche merge PR
 (Merge medio 29g 6h) (13 PR mergiate in 30 g)

Descrizione

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

The schema validator doesn't currently validate embeddables, which is why you can put associations on embeddables but they are not working anyways and nothing happens. This should be validated and add an error in SchemaValidator::validateMapping().

Guida contributor