Remove all that extension business and replace with internal properties

This commit is contained in:
Lennart
2024-11-05 17:22:48 +01:00
parent 4da0ca34c7
commit d5ef6669a6
21 changed files with 176 additions and 264 deletions

View File

@@ -93,10 +93,10 @@ pub async fn route_proppatch<R: ResourceService>(
prop: PropertyElement { prop },
}) => {
if prop.invalid_property() {
if <R::Resource as Resource>::list_all_props().contains(&propname.as_str()) {
if <R::Resource as Resource>::list_props().contains(&propname.as_str()) {
// This happens in following cases:
// - read-only properties with #[serde(skip_deserializing)]
// - for read-only properties from extensions
// - internal properties
props_conflict.push(propname)
} else {
props_not_found.push(propname);