LexikFormFilterBundle icon indicating copy to clipboard operation
LexikFormFilterBundle copied to clipboard

Allow entity usage in ChoiceFilterType per doctrine/orm:v2.6.4 changes

Open snebes opened this issue 6 years ago • 2 comments

Ref: https://github.com/lexik/LexikFormFilterBundle/issues/318

Doctrine Issue discussion: https://github.com/doctrine/orm/issues/7827

snebes avatar Sep 25 '19 16:09 snebes

Hi,

Is this still working with ORM < 2.6.4?

I would like to be sure that if I merge this PR it will no throw a BC for users

gilles-g avatar Sep 26 '19 07:09 gilles-g

@spike31 It will continue to work with older doctrine/orm versions. The changes made in orm v2.6.4 "corrected" the bug, bypassing the validation of the specified type passed with parameters. This change makes both old and new orm versions force guessing the type of the parameters.

snebes avatar Oct 01 '19 01:10 snebes