mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #347] [CLOSED] Hydrator hotfix - time to think about keeping types for columns #8056
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/347
Author: @r0ssIV
Created: 5/5/2012
Status: ❌ Closed
Base:
master← Head:Hydrator_Hotfix_Main📝 Commits (1)
6fe926fHydrator hotfix - time to think about keeping types for columns📊 Changes
1 file changed (+32 additions, -2 deletions)
View changed files
📝
lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php(+32 -2)📄 Description
Line 251 - nobody cared to call convertToPHPValue($value, $this->_platform);
And I know why - it was hard to determine column type, easier to write $value. :)
... Because type is not in ResultSetMapping
... Because type is not in ClassMetadataInfo either
... Because column types are never considered in associations.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.