doctrine / orm

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

[DDC-551] fix, add filter support in oneToOne relation 3.3.x #11708

Open jorenMartens opened 2 weeks ago

jorenMartens commented 2 weeks ago

Filters weren't applied for oneToOne relations 2.20.x PR -> https://github.com/doctrine/orm/pull/11707

https://github.com/doctrine/orm/pull/5664 can also be closed when this is merged Maybe fixes https://github.com/doctrine/orm/issues/6343 (did not test)

esserj commented 2 weeks ago

Nice, finally a fix for this, filtering the join from the inverse side also makes to much more sense then from the mapped side. Especially when dealing with soft deletable filtering