Skip to content
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

Switch LocalStorage from SQLite to a NoSQL database #1391

Open
thePeras opened this issue Nov 11, 2024 · 0 comments · May be fixed by #1411
Open

Switch LocalStorage from SQLite to a NoSQL database #1391

thePeras opened this issue Nov 11, 2024 · 0 comments · May be fixed by #1411
Labels

Comments

@thePeras
Copy link
Member

Since we recently add json_serialization, and all of our models have fromJson and toJson, it is just extra work to define SQL Tables just to store offline data.

This could be more direct and simple if we switch to a NoSQL approach.

From my research, I found these packages:

I dislike Isar, ObjectBox and Realm since they required to annotate our models and create more generated files.
Hive is super simple to use and it has an adpater to use ours fromJson and toJson methods.
Realm appears to be more verbose and have a lot of more capabilities we do not need. Hive is just more lighweight, so much clear choice is Hive.

@github-project-automation github-project-automation bot moved this to 📋 Product Backlog in UNI Nov 11, 2024
@thePeras thePeras linked a pull request Dec 10, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Product Backlog
Development

Successfully merging a pull request may close this issue.

1 participant