mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DiscriminatorColumn inside Partial Object #5611
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 @danielspk on GitHub (Jul 18, 2017).
When requesting a partial object in a DQL query the discriminator column is returned.
The array results contains the keys: id, name and type - (type was not requested).
Entity configuration:
@Ocramius commented on GitHub (Jul 18, 2017):
I didn't even know that array selection was possible with partial entity queries in DQL: nice catch!
@danielspk commented on GitHub (Aug 18, 2020):
Hi.
Where can I start to analyze the error?