[PR #1133] [Embeddables] Improved exception message #9191

Closed
opened 2026-01-22 16:03:32 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/1133

State: closed
Merged: No


Improved exception message when embeddable definition is missing 'class' attribute.
Instead of:

The class '' was not found in the chain configured namespaces ...

It shows:

The embed mapping 'embeddedname' misses the 'class' attribute.
**Original Pull Request:** https://github.com/doctrine/orm/pull/1133 **State:** closed **Merged:** No --- Improved exception message when embeddable definition is missing 'class' attribute. Instead of: ``` The class '' was not found in the chain configured namespaces ... ``` It shows: ``` The embed mapping 'embeddedname' misses the 'class' attribute. ```
admin added the pull-request label 2026-01-22 16:03:32 +01:00
admin closed this issue 2026-01-22 16:03:32 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#9191