Skip to content

Commit

Permalink
Make Decodable autoconformance to PostgresDecodable public (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtouzy committed Mar 12, 2023
1 parent 7a816db commit 5d93f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PostgresNIO/New/Data/JSON+PostgresCodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extension PostgresEncodable where Self: Encodable {
}

extension PostgresDecodable where Self: Decodable {
init<JSONDecoder: PostgresJSONDecoder>(
public init<JSONDecoder: PostgresJSONDecoder>(
from buffer: inout ByteBuffer,
type: PostgresDataType,
format: PostgresFormat,
Expand Down

0 comments on commit 5d93f3e

Please sign in to comment.