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