mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1888: generate hydrators #2381
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 @doctrinebot on GitHub (Jun 21, 2012).
Jira issue originally created by user @FabioBatSilva:
To improve performance we should consider generate custom hydrators per entity or per rsm.
I think that will create a huge performance improvement, avoiding checks every time that an entity/result is hydrated.
@KonstantinKuklin commented on GitHub (Dec 19, 2017):
@Majkl578 so, the main idea is inject value to protected entity property by extending this entity by the hydrator?
@Majkl578 commented on GitHub (Dec 19, 2017):
Yes, basically. Go through docs for Ocramius/GeneratedHydrator for more context. It would be rather large task to refactor hydrators and introduce generated hydrators though.