-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Leverage improvements in SQLKit and SQLiteNIO #108
Conversation
…t we actually need, update CI, fix ExistentialAny usage, fix readme, update docs and logo
…ort for specifying JSON encoders and decoders, add support for new SQLKit functionality, default to singleton NIOThreadPool, modernize data encoder and decoder to handle data better and faster
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #108 +/- ##
===========================================
- Coverage 83.56% 70.56% -13.00%
===========================================
Files 7 7
Lines 219 316 +97
===========================================
+ Hits 183 223 +40
- Misses 36 93 +57
|
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.
Couple of points to discuss
…is Sendable, support queryLogLevel, don't do extra thread hops in withSession()
Tests for this PR will fail until vapor/sqlite-nio#68 lands. |
…ving the conformance was source-breaking)
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.
Looks good at a high level.
… @inlinable, fix a Sendability warning, add a missing doc comment.
These changes are now available in 4.5.0
Several improvements:
Sendable
correctness, including taking advantage of the improvements in A minor overhaul sqlite-nio#68ExistentialAny
compliancequeryLogLevel
functionality is now fully implemented.NIOThreadPool.singleton
andMultiThreadedEventLoopGroup.singleton
unless otherwise specified.SQLiteDataEncoder
andSQLiteDataDecoder
are now slightly faster and behave more consistently.