Hello, I am trying to inject OSGI service defined using scr annotation into a sling model class using the @inject annotation.
What we seem to be getting is that the ModelAdapterFactory is unable to inject the service into the corresponding field as if it was an incompatible type. We not doing anything fancy here, it's just a simple service injection. Did anyone faced a similar issue in the past? Do we have to use custom injectors for this? Note: tried to use the @inject @source with an osgi-service but getting the same result. Cheers.
