Skip to content

[store] Squash datastore.Store and datastore.Datastore#1444

Merged
mickmis merged 1 commit intointeruss:masterfrom
Orbitalize:squash_datastore
Apr 28, 2026
Merged

[store] Squash datastore.Store and datastore.Datastore#1444
mickmis merged 1 commit intointeruss:masterfrom
Orbitalize:squash_datastore

Conversation

@the-glu
Copy link
Copy Markdown
Contributor

@the-glu the-glu commented Apr 22, 2026

This is a series of PRs, aiming to fix #1418 with better organization of datastore interfaces.

PRs are chained, and composed of the following:

#1444 : Merge datastore.Store and datastore.Datastore
#1445 : Move initialization into clean datastore.Store interface and use generic stores
#1446 : Rename datastore to sqlstore
#1447 : Move 'CodeRetryable' to generic store package
#1448 : Add 'store_type' flag
#1449 : Show example of new datastore type (not to be merged, demo only).


This PR is the first step, merging both datastore.Store and datastore.Datastore.

The difference to provide a specific queryable is probably not used in practice, as various implementations already heavily assume a PostgreSQL-compatible implementation.

A few functions have been inlined, but Dial is kept separate due to its usage for migrations.

@mickmis mickmis merged commit 05fa23b into interuss:master Apr 28, 2026
12 checks passed
@mickmis mickmis deleted the squash_datastore branch April 28, 2026 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[datastore] Improve store/datastore implementation

3 participants