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
}elseif cell.format ==.binary && [.char,.varchar,.text].contains(cell.dataType) && T.self is Decimal.Type{ // Workaround cheat for Fluent's assumption that Decimal strings work
}elseif cell.format ==.binary && cell.dataType ==.numeric && T.self is Double.Type{ // Workaround cheat for Fluent's expectation that Postgres's `numeric/decimal` can be decoded as Double
46
+
// Extremely manual workaround...
47
+
guardlet value =PostgresData(type: cell.dataType, formatCode: cell.format, value: cell.bytes).numeric?.double else{
48
+
throwDecodingError.dataCorrupted(.init(codingPath: codingPath, debugDescription:"Invalid numeric value encoding"))
0 commit comments