[PR #12254] fix: handling of empty array in SQL condition generation #13628

Closed
opened 2026-01-22 16:17:50 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/12254

State: closed
Merged: Yes


Fix a regression introduced in #12190: $repository->findBy(['uuid' => []] should be a valid expression and return an empty result.

Fixes #12245, with additional discussion at https://github.com/doctrine/orm/pull/12190#issuecomment-3455298734.

**Original Pull Request:** https://github.com/doctrine/orm/pull/12254 **State:** closed **Merged:** Yes --- Fix a regression introduced in #12190: `$repository->findBy(['uuid' => []]` should be a valid expression and return an empty result. Fixes #12245, with additional discussion at https://github.com/doctrine/orm/pull/12190#issuecomment-3455298734.
admin added the pull-request label 2026-01-22 16:17:50 +01:00
admin closed this issue 2026-01-22 16:17:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#13628