-
Notifications
You must be signed in to change notification settings - Fork 6
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
chore(refactor): add global db in memory support - driver builder 2/2 (WPB-8989) #2751
Conversation
Datadog ReportBranch report: ✅ 0 Failed, 2934 Passed, 104 Skipped, 10.27s Total Time |
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.
Noice 🧑🍳
Just one tiny suggestion
persistence/src/androidMain/kotlin/com/wire/kalium/persistence/db/PlatformDatabaseData.kt
Outdated
Show resolved
Hide resolved
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.
Great work!
I just have one comment on a method return change 🤔
persistence/src/jvmMain/kotlin/com/wire/kalium/persistence/db/UserDatabase.kt
Outdated
Show resolved
Hide resolved
* chore: in memory global db * fix: configure opening mode to nomutex * fix: journaling and tx mode * chore: remove debugging code * chore: running dockermode with default sequential warmup and more comments * chore: wip, extracting driver builder * chore: fix for apple platforms * refactor: unify creation of database pattern for globaldb * refactor: wrapping up * refactor: detekt * chore: add missing platform code migration * chore: rename * chore: fix persistence-test * chore: fix persistence-test * chore(refactor): add global db in memory support - driver builder 2/2 (WPB-8989) (#2751) * chore: pr comments * chore: pr comments * chore: align more pr comments * chore: align more pr comments * chore: detekt
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
This PR addresses Builder pattern dsl and remove expect/actual for driver creation.
Solutions
Apply
dsl
builder pattern, suggested in prev. PR