Reading this thread (and looking at the code) I agree with Julian - it is
surprising that it does not work with the SlingModelsUseProvider, since it
used to work with the JavaUseProvider. This piqued my interest, so I
created a minimal implementation of this in [1].
[1]
Dear Apache Enthusiast,
(You’re receiving this message because you’re subscribed to one or more
Apache Software Foundation project user mailing lists.)
We’re thrilled to announce the schedule for our upcoming conference,
ApacheCon North America 2019, in Las Vegas, Nevada. See it now at
Hi Liam
Based on the fact that the @Self injection should provide a Resource
object, I assume your model is adaptable from a Resource (it would
help to provide the class including its @Model annotation).
The way this feature is implemented, I assume that it does not work
for adapting Resource
Hi Liam,
AFAIK, the mentioned pattern is not designed to work with Sling Models. It
simply uses the adaptTo pattern to transform the adaptable to the given
class.
Best,
Vlad
On Tue, Jun 11, 2019 at 9:00 PM Liam C wrote:
> Hello,
>
> Is anyone able to replicate this, or to confirm that they