ryannealmes
12/01/2018, 12:46 AMenum ProjectType {
ML
BLOCKCHAIN
IOS
ANDROID
WEB
}
and I want to pull it on the front end. I can do this via introspection, but if I want custom casing like ML, Blockchain, IOs, Android, Web
it would be difficult for the consumer to do this in a generic/dynamic way. Is there a way to add meta data to enum values so that it comes through on introspection? Any help would be appreciated!force
12/01/2018, 5:08 AMforce
12/01/2018, 5:09 AMconst labels = {
ML: 'ML',
BLOCKCHAIN: 'Blockchain',
IOS: 'IOs',
ANDROID: 'Android',
WEB: 'Web',
}
ryannealmes
12/02/2018, 6:27 PM