Custom Product Filter GraphQl Not working in magento 2.4
I want to add a stock filter for the product search GraphQl query. check below my code schema.graphqls input ProductAttributeFilterInput @doc(description: “Defines the filters”){ stock_status: FilterEqualTypeInput } di.xml <virtualType name=”MagentoCatalogModelApiSearchCriteriaCollectionProcessorProductFilterProcessor” type=”MagentoEavModelApiSearchCriteriaCollectionProcessorFilterProcessor”> <arguments> <argument name=”customFilters” xsi:type=”array”> <item name=”stock_status” xsi:type=”object”>CustomModuleModelResolverProductsSearchCriteriaCollectionProcessorFilterProcessorCustomStockFilter</item> </argument> </arguments>… Read More »Custom Product Filter GraphQl Not working in magento 2.4