[PR #11453] Allow classname in 'value' attribute of xml discriminator-mapping field #13034

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

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

State: closed
Merged: Yes


fixes https://github.com/doctrine/orm/issues/11449

In relation to https://github.com/doctrine/orm/pull/10630
This PR allows a more loosen validation of the value attribute of discriminator-mapping field, using orm:type in the XSD schema as it was done in the linked pull request.
The test I wrote loads the entity enabling the validation against XSD schema, thus expects no exception to be thrown.

**Original Pull Request:** https://github.com/doctrine/orm/pull/11453 **State:** closed **Merged:** Yes --- fixes https://github.com/doctrine/orm/issues/11449 In relation to https://github.com/doctrine/orm/pull/10630 This PR allows a more loosen validation of the value attribute of discriminator-mapping field, using orm:type in the XSD schema as it was done in the linked pull request. The test I wrote loads the entity enabling the validation against XSD schema, thus expects no exception to be thrown.
admin added the pull-request label 2026-01-22 16:15:57 +01:00
admin closed this issue 2026-01-22 16:15:58 +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#13034