Skip to content

Commit

Permalink
fix test_flatten_stuff which changed due to GREsau/schemars#113 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahl committed Dec 6, 2021
1 parent 5132e74 commit 80b510b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion typify-impl/src/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl TypeSpace {
};

properties.push(extra_prop);
false
true
}
};

Expand Down Expand Up @@ -449,6 +449,7 @@ mod tests {

#[allow(dead_code)]
#[derive(Serialize, JsonSchema, Schema)]
#[serde(deny_unknown_fields)]
struct FlattenStuff {
number: i32,
#[serde(flatten)]
Expand Down

0 comments on commit 80b510b

Please sign in to comment.