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

Store JSONs are SQLite JSONB #464

Open
steida opened this issue Aug 17, 2024 · 0 comments
Open

Store JSONs are SQLite JSONB #464

steida opened this issue Aug 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@steida
Copy link
Contributor

steida commented Aug 17, 2024

One thing I would like to improve is storing JSONs not as strings but as SQLite JSONB. One reason is that right now, Evolu detects stringified JSONs and automatically turns them into objects, which means no user string can be a JSON, which can be confusing. Hence, a Schema String was added to prevent that situation, but I don't like it.

We need the TS version of this: https://github.com/lovasoa/serde-sqlite-jsonb

Inspired by https://github.com/Unconcurrent/SoloDB

We can do the same with a friendly typed API.

@steida steida added the enhancement New feature or request label Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant