Skip to content

Commit

Permalink
fix: revert deny_unknown_fields for top-level of config (#773)
Browse files Browse the repository at this point in the history
* fix: revert `deny_unknown_fields` for top-level of config

* template
  • Loading branch information
grtlr authored Oct 5, 2022
1 parent c1c9eaf commit e62f837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ As a reviewer, please pay particular attention to the following areas when revie

#### Config Changes
* [ ] Ensure proper order in which CLI and config arguments are applied.
* [ ] Ensure that config changes work with individual build features.

#### API Changes
* [ ] Test the API endpoints which were added/changed.
Expand Down
2 changes: 1 addition & 1 deletion src/bin/inx-chronicle/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub enum ConfigError {

/// Configuration of Chronicle.
#[derive(Clone, Default, Debug, PartialEq, Eq, Serialize, Deserialize)]
#[serde(default, deny_unknown_fields)]
#[serde(default)]
pub struct ChronicleConfig {
pub mongodb: MongoDbConfig,
#[cfg(feature = "api")]
Expand Down

0 comments on commit e62f837

Please sign in to comment.