-
Notifications
You must be signed in to change notification settings - Fork 62
feature: Remove SQLite.swift #635
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
base: main
Are you sure you want to change the base?
Conversation
Rewriting the SQLiteDotSwiftDatabase class to ApolloSQLiteDatabase and now interacting directly with the SQLite C API. The goal of this rewrite is to remove the third party dependency on SQLite.swift and preserve all existing functionality as is, not add any new functionality.
✅ Deploy Preview for apollo-ios-docc canceled.
|
✅ Docs preview has no changesThe preview was not built because there were no changes. Build ID: 77ee1e742d41faf33a32c5d8 |
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.
This looks really great to me! Thanks so much @BobaFetters.
@@ -17,10 +17,21 @@ class SQLiteDotSwiftDatabaseBehaviorTests: XCTestCase { | |||
XCTAssertEqual(rows.count, 1) | |||
|
|||
// Use SQLite directly to manipulate the database (cannot be done with SQLiteDotSwiftDatabase) |
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.
// Use SQLite directly to manipulate the database (cannot be done with SQLiteDotSwiftDatabase) | |
// Use SQLite directly to manipulate the database (cannot be done with ApolloSQLiteDatabase) |
@@ -1,13 +1,13 @@ | |||
import XCTest | |||
@testable import ApolloSQLite | |||
import ApolloInternalTestHelpers | |||
import SQLite | |||
import SQLite3 | |||
|
|||
class SQLiteDotSwiftDatabaseBehaviorTests: XCTestCase { |
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.
class SQLiteDotSwiftDatabaseBehaviorTests: XCTestCase { | |
class ApolloSQLiteDatabaseBehaviorTests: XCTestCase { |
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.
Two suggested changes in this file but I'm not completely sold on the value this test is providing, maybe we don't need it?
Rewriting the SQLiteDotSwiftDatabase class to ApolloSQLiteDatabase and now interacting directly with the SQLite C API. The goal of this rewrite is to remove the third party dependency on SQLite.swift and preserve all existing functionality as is, not add any new functionality.