Bug Report: type generation for enum of non English text missing Elements value
- 0
- Self Hosted
- Tools
- Web
- Cloud
👟 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"
}
:appwriteupvote:
:appwriteupvote:
:appwriteupvote:
:appwriterocket:
will look into language conversions, thanks for pointing this issue
it would be cool if enum value is not in English , there is prompt to ask to provide English naming
would be awesome, i havnt worked or seen code in different languages yet tho. would be awesome if u can share some examples on how this can look!
Recommended threads
- Auth not working on expo react native
I'm trying to launch a development server with expo go and appwrite as a backend. On my windows pc, I've got a local docker instance of appwrite running as my b...
- Urgent help required - Could not resolve...
I upgraded my production environment to 1.8.0 but experienced issues with appwrite running out of worker threads. I downgraded back to 1.6.1 and restored the da...
- createMembership is not sending email wi...
Parameters should be correct. Account and Membership are successfully created. I have a next.js project with localhost origin allowed. I checked spam etc. i...