I am using postgraphile (A library that wraps your Postgres database with GraphQL api), and I have some enums in Hebrew.
As written in GraphQL Specification, Enum Values must be Names - which are limited to the ASCII subset with this regexp:
/[_A-Za-z][_0-9A-Za-z]*/
I want to use the Postgres enum type in order to have validation on my enum columns. Postgraphile converts Postgres Enums to GraphQLEnum type and it causes an error when the value isn't in the Name standard mentioned above (because some enums are in Hebrew).
How would you use enum values in a different language?