edgedb / edgedb-rust

The official Rust binding for EdgeDB
https://edgedb.com
Apache License 2.0
215 stars 26 forks source link

Allow enums to be `Queryable` #195

Closed IgnisDa closed 1 year ago

IgnisDa commented 1 year ago

I have a computed field role that is an enum in the schema. My current workaround is to use query_json and then use serde_json to convert it to my actual struct. But it feels very hacky.

EiffelFly commented 1 year ago

I can echo this one! I use the same hack to cope with this issue