Closed fabianfett closed 2 years ago
Merging #307 (17ba80f) into main (17ba80f) will not change coverage. The diff coverage is
n/a
.:exclamation: Current head 17ba80f differs from pull request most recent head a2affaf. Consider uploading reports for the commit a2affaf to get more accurate results
The API breakage detector reports a false positive here. The decode methods have been moved from PostgresRowSequence
to extension AsyncSequence where Element == PostgresRow
, which PostgresRowSequence
conforms to.
Motivation
To use a customized JSONDecoder, users have the option to supply a
PostgresDecodingContext
. Currently we require users to set explicitly on every row decode call. This makes the API unnecessarily verbose. Since thePostgresDecodingContext
is generic we can not default the parameter. Instead we need add proxy functions so that we can default the parameter manually.Changes
PostgresDecodingContext