DDC-1888: generate hydrators #2381

Open
opened 2026-01-22 13:51:14 +01:00 by admin · 2 comments
Owner

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.

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.
admin added the New Feature label 2026-01-22 13:51:14 +01:00
Author
Owner

@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?

@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?
Author
Owner

@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.

@Majkl578 commented on GitHub (Dec 19, 2017): Yes, basically. Go through docs for [Ocramius/GeneratedHydrator](https://github.com/Ocramius/GeneratedHydrator) for more context. It would be rather large task to refactor hydrators and introduce generated hydrators though.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2381