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

feat: allow config-stores to be defined using [local_server.config_stores] #240

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

JakeChampion
Copy link
Contributor

Currently they can be defined using [local_server.dictionaries], this patch adds an alias for [local_server.config_stores] which matches the way we defined object and secret stores (local_server.object_stores and local_server.secret_stores)

@JakeChampion JakeChampion marked this pull request as ready for review March 30, 2023 11:18
@JakeChampion JakeChampion requested a review from joeshaw March 30, 2023 11:21
@@ -202,6 +202,7 @@ pub enum ExperimentalModule {
struct RawLocalServerConfig {
backends: Option<Table>,
geolocation: Option<Table>,
#[serde(alias = "config_stores")]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the line which brings in the new functionality -- all the other changes are for tests

Copy link
Member

@joeshaw joeshaw left a comment

Choose a reason for hiding this comment

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

👍

@JakeChampion JakeChampion merged commit 755da7e into main Mar 30, 2023
@JakeChampion JakeChampion deleted the jake/config-stores branch March 30, 2023 14:49
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.

2 participants