Skip to content

Commit

Permalink
Fix CLI serializer (closes #1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdecimus committed Jan 11, 2025
1 parent a175b3b commit c9d7db0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/cli/src/modules/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ use super::cli::{Client, ServerCommands};

#[derive(Debug, serde::Serialize, serde::Deserialize)]
#[serde(tag = "type")]
#[serde(rename_all = "camelCase")]
pub enum UpdateSettings {
Delete {
keys: Vec<String>,
},
Clear {
prefix: String,
#[serde(default)]
filter: Option<String>,
},
Insert {
prefix: Option<String>,
Expand Down
1 change: 1 addition & 0 deletions crates/cli/src/modules/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
#[serde(tag = "type")]
#[serde(rename_all = "camelCase")]
pub enum Report {
Tls {
id: String,
Expand Down

0 comments on commit c9d7db0

Please sign in to comment.