You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
right now i'm using newtype constants to do enum-y things, but i'd prefer it if i could use enums. i want to be able to work with enum variants in rust and have diesel automatically translate them to corresponding string values and back.
i tried diesel-derive-enum and manually implementing tosql/fromsql myself, but didn't have a good time with either one. maybe i'll have better luck if i try that again, or maybe there's some other approach i'm missing.
The text was updated successfully, but these errors were encountered:
right now i'm using newtype constants to do enum-y things, but i'd prefer it if i could use
enum
s. i want to be able to work withenum
variants in rust and have diesel automatically translate them to corresponding string values and back.i tried diesel-derive-enum and manually implementing tosql/fromsql myself, but didn't have a good time with either one. maybe i'll have better luck if i try that again, or maybe there's some other approach i'm missing.
The text was updated successfully, but these errors were encountered: