Update sea-orm dependencies to use workspace configuration; add dead code annotations in service error handling and settings service
All checks were successful
Test / verify-generated-code (pull_request) Successful in 7m57s
Test / test (pull_request) Successful in 1m9s
Test / lint (pull_request) Successful in 1m9s

This commit is contained in:
GW_MC
2025-12-02 17:12:24 +08:00
parent f71cf370cd
commit f4e6eb56c8
7 changed files with 15 additions and 5 deletions

View File

@@ -11,11 +11,14 @@ use crate::errors::service_error::{IntoServiceError, ServiceError};
#[async_trait::async_trait]
pub trait SettingsStore: Send + Sync {
#[allow(dead_code)] // TODO: remove when used
async fn get_setting(&self, key: &str) -> Result<String, ServiceError>;
#[allow(dead_code)] // TODO: remove when used
async fn set_setting(&self, key: &str, value: String) -> Result<(), ServiceError>;
}
pub struct SettingsService {
#[allow(dead_code)] // TODO: remove when used
connection: Arc<DatabaseConnection>,
}