Skip to content

Commit 515cbc7

Browse files
florianreinharttanner0101
authored andcommitted
Decode JSON array in MySQLDataDecoder (#246)
1 parent d0a8385 commit 515cbc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/MySQLKit/MySQLDataDecoder.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public struct MySQLDataDecoder {
5252
}
5353

5454
func unkeyedContainer() throws -> UnkeyedDecodingContainer {
55-
fatalError()
55+
throw DoJSON()
5656
}
5757

5858
func container<Key>(keyedBy type: Key.Type) throws -> KeyedDecodingContainer<Key>

0 commit comments

Comments
 (0)