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.
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.