Closed novi closed 6 years ago
No need use SQLEnumType in Decodable object.
You could just add Decodable to your enum.
Decodable
enum UserType: String, Decodable { case user = "user" case admin = "admin" }
No need use SQLEnumType in Decodable object.
You could just add
Decodable
to your enum.