Skip to content

Commit

Permalink
Open up the validate function for json schema.
Browse files Browse the repository at this point in the history
  • Loading branch information
gklijs committed Oct 21, 2023
1 parent 96ccea2 commit e189f22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/blocking/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ impl JsonEncoder {
to_bytes(id, value)
}

fn validate(
/// Validates the value as being correct according to the schema
pub fn validate(
&mut self,
key: String,
subject_name_strategy: &SubjectNameStrategy,
Expand Down

0 comments on commit e189f22

Please sign in to comment.