feat: Initial working prototype
This commit is contained in:
@@ -112,6 +112,8 @@ impl Property {
|
||||
};
|
||||
if let Some(true) = self.nullable {
|
||||
format!("Option<{}>", out)
|
||||
} else if self.nullable.is_none() && self._type == Some(Types::Object) {
|
||||
format!("Option<{}>", out)
|
||||
} else {
|
||||
out
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user