Skip to content

Commit 5d93f3e

Browse files
authored
Make Decodable autoconformance to PostgresDecodable public (#331)
1 parent 7a816db commit 5d93f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PostgresNIO/New/Data/JSON+PostgresCodable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extension PostgresEncodable where Self: Encodable {
2626
}
2727

2828
extension PostgresDecodable where Self: Decodable {
29-
init<JSONDecoder: PostgresJSONDecoder>(
29+
public init<JSONDecoder: PostgresJSONDecoder>(
3030
from buffer: inout ByteBuffer,
3131
type: PostgresDataType,
3232
format: PostgresFormat,

0 commit comments

Comments
 (0)