[PR #251] [CLOSED] [DDC-657] Convert scalar value if it's an entity field #7921

Closed
opened 2026-01-22 15:57:33 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/251
Author: @FabioBatSilva
Created: 1/6/2012
Status: Closed

Base: masterHead: DDC-657


📝 Commits (4)

📊 Changes

4 files changed (+134 additions, -3 deletions)

View changed files

📝 lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php (+10 -1)
📝 lib/Doctrine/ORM/Query/ResultSetMapping.php (+5 -1)
📝 lib/Doctrine/ORM/Query/SqlWalker.php (+1 -1)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC657Test.php (+118 -0)

📄 Description

Hello,

This path fix : http://www.doctrine-project.org/jira/browse/DDC-657
Has been added the declaring class in a scalar result, that allow get the type from the field mapping.

Please tell me if can I make something better.

Thanks..


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/251 **Author:** [@FabioBatSilva](https://github.com/FabioBatSilva) **Created:** 1/6/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `DDC-657` --- ### 📝 Commits (4) - [`ed8b1e7`](https://github.com/doctrine/orm/commit/ed8b1e731f5c35e884728927e74ebb89b4fbeb66) tests for DDC-657 - [`561da32`](https://github.com/doctrine/orm/commit/561da321a41779f449f9c449cc8f14075c161f51) Fix DDC-657 - [`1d99fc4`](https://github.com/doctrine/orm/commit/1d99fc4934be6bf64dfd45a537b4171b89c0b9e7) added some tests - [`9b2fe51`](https://github.com/doctrine/orm/commit/9b2fe514f88cfda40c855f5823b194e14ef022ed) code refactoring and other tests ### 📊 Changes **4 files changed** (+134 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php` (+10 -1) 📝 `lib/Doctrine/ORM/Query/ResultSetMapping.php` (+5 -1) 📝 `lib/Doctrine/ORM/Query/SqlWalker.php` (+1 -1) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC657Test.php` (+118 -0) </details> ### 📄 Description Hello, This path fix : http://www.doctrine-project.org/jira/browse/DDC-657 Has been added the declaring class in a scalar result, that allow get the type from the field mapping. Please tell me if can I make something better. Thanks.. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:57:33 +01:00
admin closed this issue 2026-01-22 15:57:34 +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#7921