-
Notifications
You must be signed in to change notification settings - Fork 223
Open
Labels
requestRequests to resolve a particular developer problemRequests to resolve a particular developer problem
Description
We need to get object property name in cases like Angular 2 ngOnChanges (when you need to compare key from changes map with object property name):
ngOnChanges(Map<String, SimpleChange> changes);
It would be great to have something like nameof in C#, so that we could get property name and don't be afraid that someone will rename property.
nameof(obj.propertyName); // 'propertyName'
zoechi, ranquild, Lisenish, shekohex, soernt and 71 morezoechi, ranquild, tomgilder, HerrNiklasRaab, thibaultzanini and 4 morezoechi, ranquild, shekohex, jodinathan, kevmoo and 9 morezs-dima, ufobm, yoeden and albertms10
Metadata
Metadata
Assignees
Labels
requestRequests to resolve a particular developer problemRequests to resolve a particular developer problem