Hi everyone,
I have encountered some interesting thing in Sling. I have this model, for example ExampleModel.java · GitHub.
I set defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL for this model, and create field marked as @ChildResource. And this field leave required in spite of this.
My question is this bug or feature?)))