moko-resources
moko-resources copied to clipboard
Why doesn't StringResource implement StringDesc
trafficstars
I understand why StringDesc exists because you want to have localizable text and don't want to bind it to one particular source of that text. And actually the lack of such a type is a pain with Compose resources.
But when having to do something like MR.strings.fooString.desc() for the umpteenth time to convert it into a StringDesc, it occurs to me that it would be very convenient for StringResouce to implement StringDesc and I cannot see any reason why it shouldn't