mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Column Hydrator #6869
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 @ThomasLandauer on GitHub (Nov 6, 2021).
Feature Request
Summary
I'm using @ostrolucky 's Column Hydrator from https://gist.github.com/ostrolucky/f9f1e0b271357573fde55b7a2ba91a32
However, since DBAL 3, it's deprecated. So I'm suggesting to integrate its functionality directly into Doctrine:
Example:
I could try if I can create a PR, but I'd need somebody to help me!
If you don't want to integrate this into Doctrine, then please update (or help me updating) the docs chapter "Custom Hydration Modes" at https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/reference/dql-doctrine-query-language.html#custom-hydration-modes, cause (as far as I can see) this is outdated too.