This article is a response to an article by a connection of mine, Dylan Reniers: https://www.digitalum.eu/2020/06/19/deep-diving-into-sling-models-pt2/. I recommend you read the piece as it has some interesting information and because otherwise the rest of this article won’t make much sense!In the article, Dylan mentions 4 red flags in Sling Model implementation: 1. Set the defaultInjectionStrategy to optional 2. Use both SlingHttpServletRequest and Resource as adaptables 3. Use @Inject everywhere 4. No name added to the property using @Named
Please use this thread to ask the related questions.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes