An Adobe Commerce developer is trying to create a custom table using declarative schema, but is unable to do so.
What are two errors in the snippet above? (Choose two.)
The developer can add a custom filter to the virtual type MagentoCatalogModelApiSearchCriteriaCollectionProcessorProductFilterProce5sor for supplier_id field. In the custom filter, the developer can apply the needed join and filter to the passed $collection. This is the recommended way to extend the search criteria for products using dependency injection and plugins. Verified Reference: [Magento 2.4 DevDocs] [Magento Stack Exchange]
Jani
4 days ago