mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-18 09:14:19 +01:00
refactor(config): handle recursive mut json values
* recurively drill down a mutable, recursive enumeration, without borrow checker issues. The obvious solution doesn't work, but should. Stackoverflow ? * infrastructure to set actual value, with support for ararys, pods and hashmaps
This commit is contained in:
@@ -405,7 +405,7 @@ for kvarg in ${opt_values(KEY_VALUE_ARG)} {
|
||||
}
|
||||
};
|
||||
if let Some(type_info) = type_info {
|
||||
temp_cursor.set_json_value(&mut object, value.unwrap(), type_info);
|
||||
temp_cursor.set_json_value(&mut object, value.unwrap(), type_info, err);
|
||||
}
|
||||
}
|
||||
let mut ${request_prop_name}: api::${request_prop_type} = json::value::from_value(object).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user