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
It would be very nice for zig-sqlite to deal with converting enums to ints and back on its own. Having to write this at call site causes unnecessary boilerplate. As seen in this example:
Activity
joeltg commentedon Jan 29, 2024
I'm not opposed to adding this but I would want to avoid using
@enumFromIntso that parsing an invalid value doesn't invoke undefined behavior.I'll keep this open as a note to myself for the next time I make some changes.