-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Update for new SQLKit and support more URL string formats #325
Conversation
…tialAny and StrictConcurrency compliance
…ths from the encoder and decoder, add more features to the dialect, improve NULL handling, other misc cleanup
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #325 +/- ##
==========================================
+ Coverage 60.85% 66.04% +5.18%
==========================================
Files 8 9 +1
Lines 281 321 +40
==========================================
+ Hits 171 212 +41
+ Misses 110 109 -1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I definitely didn't totally understand what's going on with every single change but looks good anyway 🫣
f6ea2d2
to
452f20f
Compare
let json: JSONDecoder | ||
|
||
/// The `JSONDecoder` used for decoding values that can't be directly converted. | ||
let json: FakeSendable<JSONDecoder> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could just @preconcurrency import Foundation
on Linux instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That triggers a whole different mess of warnings, since Sendability on macOS isn't available before macOS 13.0. This is actually much easier.
These changes are now available in 4.8.0
Adds support for several additional
mysql:
URL formats, following in the footsteps of similar support in PostgresKit. Also takes advantage of the recent updates to SQLKit, bumps minimum Swift version to 5.8, and does some general cleanup.Details on new URL formats can be found in the MySQLKit API documentation.