[PR #8062] Convert PHP to SQL for new object expression #10795

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

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

State: closed
Merged: Yes


Fields used in the new object expression. Were not yet converted to via
their configured type/convertToPHPValueSQL. This can lead to incorrect
arguments being injected into the new object.

This is fixed by calling convertToPHPValueSQL while creating the SQL
query.

This fixes issue #8061

**Original Pull Request:** https://github.com/doctrine/orm/pull/8062 **State:** closed **Merged:** Yes --- Fields used in the new object expression. Were not yet converted to via their configured type/convertToPHPValueSQL. This can lead to incorrect arguments being injected into the new object. This is fixed by calling convertToPHPValueSQL while creating the SQL query. This fixes issue #8061
admin added the pull-request label 2026-01-22 16:08:42 +01:00
admin closed this issue 2026-01-22 16:08:43 +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#10795