PostgresDataConvertible
should not be hard-deprecated till PostgresKit adopts newer APIs
#254
Labels
bug
Something isn't working
Describe the bug
Upon upgrading my dependencies I got a deprecation warning for
PostgresDataConvertible
, urging me to upgrade to the newer protocols, but when I attempted to upgrade, I got hit with decoding failures fortypeMismatch
due toSQLRow.decode
no longer getting the right type.To Reproduce
Here are the helpers I'm using, including the conformance at the bottom of the file:
https://github.com/pointfreeco/pointfreeco/blob/63db1dd9a73c6e9f240aebe4a8072b1a725ee1f0/Sources/Database/Helpers.swift
Updating the conformance to the following breaks the helpers above:
Expected behavior
I expect a deprecation warning pushing me to adopt a new API to be compatible with the existing APIs I adopt from PostgresKit.
Environment
The text was updated successfully, but these errors were encountered: