Open
Description
Feature Request
replacing
orm/src/Mapping/AssociationMapping.php
Line 138 in 4baa7bd
by something like :
if (!$mapping instanceof ManyToManyOwningSideMapping) {
throw new \Exception(
"Mapping error on field '" .
$mapping->fieldName . '[' . $mapping->sourceEntity . ']' .
"': joinTable can only be set on many-to-many owning side.");
}
Would ease the debugging of this error, as today, the assertion error does not provide any information about the cause of the error.
Metadata
Metadata
Assignees
Labels
No labels