vapor / postgres-nio

🐘 Non-blocking, event-driven Swift client for PostgreSQL.
https://api.vapor.codes/postgresnio/documentation/postgresnio/
MIT License
327 stars 75 forks source link

fix en- and decoding of NULL values in arrays #324

Closed ehpi closed 1 year ago

ehpi commented 1 year ago

Fixes #323

Fixes the en- and decoding of arrays containing NULL values.

codecov-commenter commented 1 year ago

Codecov Report

Merging #324 (91e32ca) into main (3a16650) will not change coverage. The diff coverage is 0.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #324 +/- ## ======================================= Coverage 41.62% 41.62% ======================================= Files 115 115 Lines 9377 9377 ======================================= Hits 3903 3903 Misses 5474 5474 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `41.62% <0.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://codecov.io/gh/vapor/postgres-nio/pull/324?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [Sources/PostgresNIO/Data/PostgresData+Array.swift](https://codecov.io/gh/vapor/postgres-nio/pull/324/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9EYXRhL1Bvc3RncmVzRGF0YStBcnJheS5zd2lmdA==) | `0.00% <0.00%> (ø)` | |