Form icon indicating copy to clipboard operation
Form copied to clipboard

Get ambiguous entity identifier

Open habashyjr opened this issue 11 years ago • 4 comments

Regardless the field name is, transformer would still be able to get the identifier value

habashyjr avatar Apr 21 '14 23:04 habashyjr

This would be super handy, I have a few weird scenarios where the identifier of an entity is not getId() and I am unable to use this package. The best example I can give is if you are using UUID's for object identifiers and decide to name your identifier field accordingly, so the method is getUuid() this component would not be usable.

Would love to see this merged. :+1:

stanlemon avatar Jan 30 '16 20:01 stanlemon

I need to test this, sorry for taking 2 years to get around to this. I will do it today at some point

LRotherfield avatar Feb 19 '16 15:02 LRotherfield

Has anyone tested this on Symfony 3?

LRotherfield avatar Feb 21 '16 00:02 LRotherfield

Nop but I don't think we will change much code

habashyjr avatar Feb 21 '16 00:02 habashyjr