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
{{ message }}
Repository navigation
I cannot get Postgres enum to deserialize properly to an enum class in Kotlin #21
I have a user_notification_preferences table with a profile_type column of type profile_type_enum not null. The profile_type_enum type is defined as:
create type profile_type_enum as enum ('Admin', 'Retailer', 'Supplier');
When trying to deserialize a result containing the profile_type column to a data class' val profileType: ProfileType property, where the ProfileType enum class is defined as:
@Serializable
enum class ProfileType {
Admin, Retailer, Supplier
}
Activity