doctrine/orm

Validate Embeddables in SchemaValidator

Open

#8.052 aberto em 2 de mar. de 2020

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)PHP (2.539 forks)batch import
HacktoberfestImprovement

Métricas do repositório

Stars
 (10.176 stars)
Métricas de merge de PR
 (Mesclagem média 29d 6h) (13 fundiu PRs em 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().

Guia do colaborador