Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup encoding Startup message #395

Merged

Conversation

fabianfett
Copy link
Collaborator

Further cleanup of message encoding:

  • Move Startup struct into PostgresFrontendMessageEncoder
  • Move PSQLMessagePayloadEncodable into tests, since it isn't used in PostgresNIO anymore
  • Only support the parameters that are actually used in encoding startup messages

Further cleanup of message encoding:

- Move Startup struct into PostgresFrontendMessageEncoder
- Move PSQLMessagePayloadEncodable into tests, since it isn't used in PostgresNIO anymore
- Only support the parameters that are actually used in encoding startup messages
@fabianfett fabianfett added the semver-patch No public API change. label Aug 14, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 18, 2023

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
@@            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 Coverage Δ
...urces/PostgresNIO/New/PostgresChannelHandler.swift 84.27% <100.00%> (-0.19%) ⬇️
...rces/PostgresNIO/New/PostgresFrontendMessage.swift 54.94% <100.00%> (+1.01%) ⬆️
...stgresNIO/New/PostgresFrontendMessageEncoder.swift 100.00% <100.00%> (ø)

@fabianfett fabianfett merged commit ef3a00f into vapor:main Aug 18, 2023
13 checks passed
@fabianfett fabianfett deleted the ff-dont-use-Startup-struct-in-encoder branch August 18, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver-patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants