[PR #11543] Fix the support for custom parameter types in native queries #13095

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

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

State: closed
Merged: Yes


The Query class (used for DQL queries) takes care of using the value and type as is when a type was specified for a parameter instead of going through the default processing of values.
The NativeQuery class was missing the equivalent check, making the custom type work only if the default processing of values does not convert the value to a different one.

**Original Pull Request:** https://github.com/doctrine/orm/pull/11543 **State:** closed **Merged:** Yes --- The Query class (used for DQL queries) takes care of using the value and type as is when a type was specified for a parameter instead of going through the default processing of values. The NativeQuery class was missing the equivalent check, making the custom type work only if the default processing of values does not convert the value to a different one.
admin added the pull-request label 2026-01-22 16:16:09 +01:00
admin closed this issue 2026-01-22 16:16:10 +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#13095