Skip to content

[store] Add store type flag#1448

Merged
mickmis merged 2 commits into
interuss:masterfrom
Orbitalize:add_store_type
Apr 28, 2026
Merged

[store] Add store type flag#1448
mickmis merged 2 commits into
interuss:masterfrom
Orbitalize:add_store_type

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 adds a store_type flag into the generic store area, and allows specific stores to choose their specific implementation based on the flag.

No change in practice for this one, but the goal is to prepare for future types.

Copy link
Copy Markdown
Contributor

@mickmis mickmis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed e3f6802
LGTM

Comment thread pkg/aux_/store/store.go Outdated
Co-authored-by: Mickaël Misbach <mickael.misbach@orbitalize.com>
@mickmis mickmis merged commit 5cd96c7 into interuss:master Apr 28, 2026
12 checks passed
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