-
-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(doctrine): add new filter for filtering an entity using PHP backed enum, resolves #6506 #6547
Conversation
61e86ce
to
ce4e62c
Compare
57cd113
to
69bca82
Compare
Hi @soyuka , could you please review it? |
|
||
// Doctrine ORM 2.x returns an array and Doctrine ORM 3.x returns a FieldMapping object | ||
if ($fieldMapping instanceof FieldMapping) { | ||
$fieldMapping = (array) $fieldMapping; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does main
support ORM 2.x ? I think that we can add the code only for 3.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like it is https://github.com/api-platform/core/blob/main/composer.json#L68
69bca82
to
bcf8306
Compare
thanks! |
@soyuka when will be bumped the next release including it? |
@mremi during the API Platform Conference! It will be part of API Platform 3.4 and 4.0. |
@dunglas nice! Thank you |
@mremi can you add a documentation for this? |
|
Adding new Doctrine filter for filtering an entity using PHP backed enum