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

Make storage configs clonable and serializable #3400

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

ma2bd
Copy link
Contributor

@ma2bd ma2bd commented Feb 23, 2025

Motivation

We'd like to simplify config management from databases.

Proposal

The first step is to make storage config objects serializable.

Test Plan

CI

@ma2bd ma2bd requested a review from MathieuDutSik February 23, 2025 20:06
@ma2bd ma2bd requested review from Twey and afck February 23, 2025 21:40
@ma2bd ma2bd changed the title make storage configs clonable and serializable Make storage configs clonable and serializable Feb 24, 2025
pub struct DynamoDbStoreInternalConfig {
/// The AWS configuration
config: aws_sdk_dynamodb::Config,
/// Whether to use local stack or not.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// Whether to use local stack or not.
/// Whether to use LocalStack or not.

Copy link
Contributor

@MathieuDutSik MathieuDutSik left a comment

Choose a reason for hiding this comment

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

Thank you for implementing this.

@ma2bd ma2bd merged commit 2646915 into linera-io:main Feb 24, 2025
23 checks passed
@ma2bd ma2bd deleted the wallet_storage branch February 24, 2025 20:43
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.

3 participants