doctrine/orm

Validate Embeddables in SchemaValidator

Open

#8,052 opened on Mar 2, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)PHP (2,539 forks)batch import
HacktoberfestImprovement

Repository metrics

Stars
 (10,176 stars)
PR merge metrics
 (Avg merge 29d 6h) (13 merged PRs in 30d)

Description

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().

Contributor guide