Skip to content

Conversation

@gwynne
Copy link
Member

@gwynne gwynne commented May 11, 2023

The PostgresData implementation allowed this, and it's a halfway reasonable code path, so support it at the driver level.

…decoded to `Double` (but not `Float` or `Int`, naturally).
@gwynne gwynne added bug Something isn't working semver-patch Internal changes only labels May 11, 2023
@gwynne gwynne requested a review from 0xTim May 11, 2023 23:00
@gwynne gwynne self-assigned this May 11, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #243 (64b7fbe) into main (3976618) will increase coverage by 0.34%.
The diff coverage is 80.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #243      +/-   ##
==========================================
+ Coverage   30.44%   30.79%   +0.34%     
==========================================
  Files          13       13              
  Lines         703      708       +5     
==========================================
+ Hits          214      218       +4     
- Misses        489      490       +1     
Impacted Files Coverage Δ
Sources/PostgresKit/PostgresDataTranslation.swift 63.54% <80.00%> (+0.41%) ⬆️

@gwynne gwynne merged commit 69d8595 into main May 11, 2023
@gwynne gwynne deleted the double-as-numeric-decoding branch May 11, 2023 23:54
@VaporBot
Copy link

These changes are now available in 2.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working semver-patch Internal changes only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants