-
Notifications
You must be signed in to change notification settings - Fork 9
Remove displayName ? #25
Comments
I actually see many use cases for it. One may just override the getDisplayName() method to aggregate it from first and last name. |
Yes. The method. But not persisting this in Db. Envoyé de mon iPhone Le 28 août 2013 à 20:23, Ben Scholzen [email protected] a écrit :
|
It could be an amorph field with metadata... |
metadata in displayName ? To me display name is like a computed properties, so it makes no sense to store this. |
No, metadata in general. And no, displayName != "$firstName $lastName" |
After a bit of discussion with @bakura10 I'm +1 on removing this. We can discuss adding user metadata later on, but the |
Could you paste the discussion, or, the relevant part of it? |
The point is that It may be including a prefix, it may not, it may be always prepended by something, it may be a composition of other fields. Basically, the problem is that it is a view layer problem, while it's very blurred in data definitions. A |
Okay, I agree with that. So solution:
|
I agree with that an the view helper :). Envoyé de mon iPhone Le 29 août 2013 à 13:38, Ben Scholzen [email protected] a écrit :
|
Hi,
I can see the use of the username property (even if it's not used, it's often useful it tons of projects). However, I'd be for removing the displayName property. Most of the time, people use "firstName" and "lastName" (I already had a display name in some clients websites that ended being simply a free input where people would enter first name and last name, but it's just a hell to normalize then). I think most of the time this property will be disabled in favor of first name and last name, so I'd say maybe we could remove it (so less nullable inputs).
Thoughts @DASPRiD @Ocramius ?
The text was updated successfully, but these errors were encountered: