When you are looking for a product collection filter in Magento 2, the first thing in your mind come to go with the ProductFactory approach.
With ProductFactory way, When you do use a Collection, use a Factory class to instantiate the Collection, as the getCollection() method is deprecated. Continue reading “Magento 2: Get Product collection filter using Service contract.”