sdk-generator icon indicating copy to clipboard operation
sdk-generator copied to clipboard

🐛 Bug Report: type generation for enum of non English text missing Elements value

Open therealsras opened this issue 3 months ago • 0 comments

👟 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?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

therealsras avatar Nov 15 '25 12:11 therealsras