Tmpod
09/01/2020, 8:57 PMdecodeEnum is given a string that it should try to match to a enum value index, but SerialDescriptor#getElementIndex doesn't seem to have any way to do a case insensitive lookup. Any ideas how I might achieve this?Tmpod
09/01/2020, 9:03 PMSerialDescriptor#elementNames with firstOrNull { } to get what I wanted.
Not sure if it's the best approach but it seems to work 🙂
If you got better ideas please let me know!