Do not imply flatten from skip_serialize

This commit is contained in:
Armin Ronacher committed 2018-03-20 14:45:14 +01:00
1 parent 50c636a923
commit 695c3eedcb
2 files changed
+23 -9

No files matched your search

+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> {