mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Add field name into SchemaValidator error messages. #7164
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Justinas-Jurciukonis on GitHub (Jun 8, 2023).
Feature Request
When running Symfony Doctrine validation there is missing field name that has failed.
It would be great to know field name
Summary
Current output is as follows:
As you can see there is repeated columns and entities that has invalid mapping (e.g. columns were moved from
mappedBytoinversedBy). It's very unclear what and where to check.Simply adding
[{$assoc['fieldName']}]would help with that:@greg0ire commented on GitHub (Jun 8, 2023):
Looks cool! Would you care to send a pull request (against 2.16.x?)