generate indexedBy key with a method #5197

Open
opened 2026-01-22 15:01:24 +01:00 by admin · 0 comments
Owner

Originally created by @michsk on GitHub (Jul 22, 2016).

I would love to see a way to have the indexedBy value be generated by a method. When using auto id we don't always have a value yet to use when not loading the entity from the EM (using new). So than it would make sense to be able to generate a unique hash based of other values.

Originally created by @michsk on GitHub (Jul 22, 2016). I would love to see a way to have the indexedBy value be generated by a method. When using auto id we don't always have a value yet to use when not loading the entity from the EM (using new). So than it would make sense to be able to generate a unique hash based of other values.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#5197