Update changelog

This commit is contained in:
Graham Esau 2021-03-21 20:24:32 +00:00
parent 1017506ce6
commit 77c7aa9beb
2 changed files with 4 additions and 0 deletions

View file

@ -11,6 +11,8 @@
### Fixed ### Fixed
- Fix use of `#[serde(transparent)]` in combination with `#[schemars(with = ...)]` (https://github.com/GREsau/schemars/pull/67) - Fix use of `#[serde(transparent)]` in combination with `#[schemars(with = ...)]` (https://github.com/GREsau/schemars/pull/67)
- Fix clippy `field_reassign_with_default` warning in schemars_derive generated code in rust <1.51 (https://github.com/GREsau/schemars/pull/65)
- Prevent stack overflow when using `inline_subschemas` with recursive types
## [0.8.0] - 2020-09-27 ## [0.8.0] - 2020-09-27
### Added: ### Added:

View file

@ -41,6 +41,8 @@ pub struct SchemaSettings {
pub visitors: Vec<Box<dyn GenVisitor>>, pub visitors: Vec<Box<dyn GenVisitor>>,
/// Inline all subschemas instead of using references. /// Inline all subschemas instead of using references.
/// ///
/// Some references may still be generated in schemas for recursive types.
///
/// Defaults to `false`. /// Defaults to `false`.
pub inline_subschemas: bool, pub inline_subschemas: bool,
_hidden: (), _hidden: (),