doctrine / orm

Doctrine Object Relational Mapper (ORM)
https://www.doctrine-project.org/projects/orm.html
MIT License
9.86k stars 2.5k forks source link

Using an integer as discriminator value with ORM v3 #11456

Closed prohalexey closed 1 month ago

prohalexey commented 1 month ago

This fixes a bug that occurred when configuring integers as discriminator values and using DQL instanceOf function in the queries. Doctrine throws a type error whenever the application generates these queries.

Related to https://github.com/doctrine/orm/pull/11425

prohalexey commented 1 month ago

@greg0ire @SenseException @yakijavier done, could you check this ?