[PR #8122] Prohibits class typo in the discriminator map #10824

Open
opened 2026-01-22 16:08:48 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


When a defined subclass has a case typo, the query builder will be lost
and will generate exotic table alias. This commit fixes the issue at the
root by prohibiting case typo in discriminator map.

See https://github.com/doctrine/orm/pull/8112 for the consequence of
such typo.

**Original Pull Request:** https://github.com/doctrine/orm/pull/8122 **State:** closed **Merged:** Yes --- When a defined subclass has a case typo, the query builder will be lost and will generate exotic table alias. This commit fixes the issue at the root by prohibiting case typo in discriminator map. See https://github.com/doctrine/orm/pull/8112 for the consequence of such typo.
admin added the pull-request label 2026-01-22 16:08:48 +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#10824