You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by GitBox <gi...@apache.org> on 2022/01/19 10:24:46 UTC

[GitHub] [sling-org-apache-sling-models-impl] Buuhuu opened a new pull request #31: SLING-11073: add OriginalResourceViaProvider

Buuhuu opened a new pull request #31:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/31


   This implements a `ViaProvider` that undoes the changes done by `ForceResourceType` and `ResourceSuperType`. 
   
   This is in particular helpful if a model `A` refers to another model `B` using `@Self` and both models are extended using the delegation pattern. In such a case the original `AImpl` would use the wrapped request/resource of the `ResourceSuperTypeViaProvider` to obtain the model for `B` which would not take the extension of model `B` for a more specific resource type into account. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [sling-org-apache-sling-models-impl] Buuhuu merged pull request #31: SLING-11073: add OriginalResourceViaProvider

Posted by GitBox <gi...@apache.org>.
Buuhuu merged pull request #31:
URL: https://github.com/apache/sling-org-apache-sling-models-impl/pull/31


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org