Skip to content

AnnotatedString has no public way to extract the underlying string without annotations #55247

Open

Description

The AnnotatedString docstring explicitly states

While the constructors are part of the Base public API, the fields of AnnotatedString are not

As far as I see, the only way to get the underlying (abstract)string is by accessing the string field which is not public. I guess this is an undesirable situation?..

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

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