Skip to content

Fix Decodable autoconformance to PostgresDecodable #331

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

Merged
merged 1 commit into from
Mar 12, 2023

Conversation

jtouzy
Copy link
Contributor

@jtouzy jtouzy commented Mar 9, 2023

The default implementation of PostgresDecodable on Decodable types does not work automatically when used in other packages because it's not public. Just a simple visibility change does fix this.

Copy link
Collaborator

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great finding. Thanks!

@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2023

Codecov Report

Merging #331 (c35686c) into main (7a816db) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #331   +/-   ##
=======================================
  Coverage   41.54%   41.54%           
=======================================
  Files         115      115           
  Lines        9436     9436           
=======================================
  Hits         3920     3920           
  Misses       5516     5516           
Impacted Files Coverage Δ
...es/PostgresNIO/New/Data/JSON+PostgresCodable.swift 100.00% <ø> (ø)

@fabianfett fabianfett merged commit 5d93f3e into vapor:main Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants