mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
SQLFilter gives an unclear error when using non-Stringable parameters
#7439
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @7-zete-7 on GitHub (Nov 6, 2024).
Bug Report
Summary
In ORM 2, parameters were converted according to the DBAL types passed with the parameters. In ORM 3 (after https://github.com/doctrine/orm/pull/9727), parameters began to be explicitly converted to a string.
Current behavior
Error while explicitly converting to string.
Expected behavior
Converting specified parameters according to the passed types.
Reproducer: https://github.com/7-zete-7/doctrine-orm-reproducer-1