vapor / postgres-nio

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

Cleanup encoding Startup message #395

Closed fabianfett closed 11 months ago

fabianfett commented 11 months ago

Further cleanup of message encoding:

codecov-commenter commented 11 months ago

Codecov Report

Merging #395 (7fb62cf) into main (d5c5258) will decrease coverage by 0.14%. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #395 +/- ## ========================================== - Coverage 48.82% 48.68% -0.14% ========================================== Files 110 109 -1 Lines 8954 8930 -24 ========================================== - Hits 4372 4348 -24 Misses 4582 4582 ``` | [Files Changed](https://app.codecov.io/gh/vapor/postgres-nio/pull/395?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor) | Coverage Δ | | |---|---|---| | [...urces/PostgresNIO/New/PostgresChannelHandler.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/395?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvUG9zdGdyZXNDaGFubmVsSGFuZGxlci5zd2lmdA==) | `84.27% <100.00%> (-0.19%)` | :arrow_down: | | [...rces/PostgresNIO/New/PostgresFrontendMessage.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/395?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvUG9zdGdyZXNGcm9udGVuZE1lc3NhZ2Uuc3dpZnQ=) | `54.94% <100.00%> (+1.01%)` | :arrow_up: | | [...stgresNIO/New/PostgresFrontendMessageEncoder.swift](https://app.codecov.io/gh/vapor/postgres-nio/pull/395?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vapor#diff-U291cmNlcy9Qb3N0Z3Jlc05JTy9OZXcvUG9zdGdyZXNGcm9udGVuZE1lc3NhZ2VFbmNvZGVyLnN3aWZ0) | `100.00% <100.00%> (ø)` | |