-
-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Description
I have a model that looks like this:
struct Game: PostgreSQLModel, Codable {
var id: Int?
var tags: [Int64]?
}
I want to store an array of int64 tags in the model the case where there is multiple ints in the array works but also if the array is nil (empty) works.
But the case where it only contains a single value gives me:
DecodingError.typeMismatch: Value of type 'Int64' required for key ''.
But only on linux.
Using swift 4.1 + PostgreSQL 10 .
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working