changes around extensions

This commit is contained in:
Lennart
2024-11-04 19:19:54 +01:00
parent c41e3e3abb
commit 0d2e07fb65
10 changed files with 53 additions and 79 deletions

View File

@@ -30,13 +30,14 @@ impl<PR: Resource> Default for RootResource<PR> {
impl<PR: Resource> Resource for RootResource<PR> {
type PropName = CommonPropertiesPropName;
type Prop = CommonPropertiesProp<RootResource<PR>>;
type Prop = CommonPropertiesProp<Self::ResourceType>;
type Error = PR::Error;
type ResourceType = Resourcetype;
type PrincipalResource = PR;
fn list_extensions() -> Vec<BoxedExtension<Self>> {
vec![BoxedExtension::from_ext(
CommonPropertiesExtension::<PR>::default(),
CommonPropertiesExtension::<Self>::default(),
)]
}