Skip to content

πŸ› Bug Report: type generation for enum of non English text missing Elements valueΒ #1256

@therealsras

Description

@therealsras

πŸ‘Ÿ Reproduction steps

in the enum element value, instead of English, use another language (Khmer), in my case Khmer text.


export enum ProvinceType {
     = "αžšαžΆαž‡αž’αžΆαž“αžΈ",
     = "αžαŸαžαŸ’αž",
    TEST = "Test"
}

πŸ‘ Expected behavior

export enum ProvinceType {
    CAPITAL = "αžšαžΆαž‡αž’αžΆαž“αžΈ",
    PROVINCE = "αžαŸαžαŸ’αž",
    TEST = "Test"
}

Maybe configurable mapping enum value ?

πŸ‘Ž Actual Behavior

Missing value


export enum ProvinceType {
     = "αžšαžΆαž‡αž’αžΆαž“αžΈ",
     = "αžαŸαžαŸ’αž",
    TEST = "Test"
}

🎲 Appwrite version

Appwrite Cloud

πŸ’» Operating system

Windows

🧱 Your Environment

No response

πŸ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏒 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions