mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 19:22:26 +00:00
Fix prop parsing in PROPPATCH
This commit is contained in:
@@ -43,6 +43,17 @@ pub trait Resource: Clone + 'static {
|
||||
Self::PropName::VARIANTS
|
||||
}
|
||||
|
||||
fn list_all_props() -> Vec<&'static str> {
|
||||
let mut props = Self::list_props().to_vec();
|
||||
props.extend(
|
||||
Self::list_extensions()
|
||||
.into_iter()
|
||||
.map(|ext| ext.list_props().to_vec())
|
||||
.concat(),
|
||||
);
|
||||
props
|
||||
}
|
||||
|
||||
fn get_prop(
|
||||
&self,
|
||||
rmap: &ResourceMap,
|
||||
|
||||
Reference in New Issue
Block a user