Do not imply flatten from skip_serialize

This commit is contained in:
Armin Ronacher
2018-03-20 14:45:14 +01:00
parent 50c636a923
commit 695c3eedcb
2 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -1010,7 +1010,7 @@ impl Field {
}
pub fn skip_deserializing(&self) -> bool {
self.skip_deserializing || self.flatten
self.skip_deserializing
}
pub fn skip_serializing_if(&self) -> Option<&syn::ExprPath> {