Skip to content

Commit

Permalink
Merge pull request #122 from Kuadrant/strict
Browse files Browse the repository at this point in the history
Stricter Limit parsing
  • Loading branch information
alexsnaps authored Sep 7, 2022
2 parents 56bdb3d + cec737e commit 28a77d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions limitador/src/limit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ impl From<String> for Namespace {
}

#[derive(Eq, Debug, Clone, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
pub struct Limit {
namespace: Namespace,
#[serde(skip_serializing, default)]
Expand Down

0 comments on commit 28a77d2

Please sign in to comment.