Skip to content

Why doesn't StringResource implement StringDesc #812

Open

Description

@dalewking

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions