Skip to content

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

Open
the-glu wants to merge 1 commit intointeruss:masterfrom
Orbitalize:squash_datastore
Open

[store] Squash datastore.Store and datastore.Datastore#1444
the-glu wants to merge 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.

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

2 participants