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
- updateSession not working anymore
Was something changed recently on Cloud since updateSession is no longer working and I get 400 when calling it, with following error: ``` { "message": "The...
- AppwriteException: Invalid document stru...
``` await tablesDB.createRow({ databaseId: '***', tableId: '***', rowId: user.$id, data }); ``` ...
- @napi-rs/canvas in Cloud Function
Has anyone tried rendering images using [@napi-rs/canvas](https://www.npmjs.com/package/@napi-rs/canvas) in Appwrite Functions? I've got a Bun runtime setup for...