Skip to content

Commit

Permalink
Merge pull request #9014 from BohuTANG/dev-deny_unknown_fields
Browse files Browse the repository at this point in the history
feat(query config): add deny_unknown_fields to QueryConfig
  • Loading branch information
BohuTANG authored Nov 29, 2022
2 parents 7c06750 + 9b1b0bb commit 712782d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/query/config/src/outer_v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ impl TryInto<InnerStorageRedisConfig> for RedisStorageConfig {

/// Query config group.
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, Args)]
#[serde(default)]
#[serde(default, deny_unknown_fields)]
pub struct QueryConfig {
/// Tenant id for get the information from the MetaSrv.
#[clap(long, default_value = "admin")]
Expand Down

1 comment on commit 712782d

@vercel
Copy link

@vercel vercel bot commented on 712782d Nov 29, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

databend – ./

databend.vercel.app
databend-git-main-databend.vercel.app
databend.rs
databend-databend.vercel.app

Please sign in to comment.