File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
app/code/Magento/CatalogGraphQl/etc/graphql Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 191
191
<type name =" Magento\Catalog\Api\ProductRepositoryInterface" >
192
192
<plugin name =" availableProductsFilter" type =" Magento\CatalogGraphQl\Plugin\AvailableProductsFilter" />
193
193
</type >
194
+ <type name =" Magento\CatalogGraphQl\Model\Category\Hydrator" >
195
+ <arguments >
196
+ <argument name =" dataObjectProcessor" xsi : type =" object" >
197
+ Magento\CatalogGraphQl\Category\DataObjectProcessor
198
+ </argument >
199
+ </arguments >
200
+ </type >
194
201
<virtualType name =" Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\ChildProduct"
195
202
type =" Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product" >
196
203
<arguments >
207
214
</argument >
208
215
</arguments >
209
216
</virtualType >
217
+ <virtualType
218
+ name =" Magento\CatalogGraphQl\Category\DataObjectProcessor"
219
+ type =" Magento\Framework\Reflection\DataObjectProcessor"
220
+ >
221
+ <arguments >
222
+ <argument name =" excludedMethodsClassMap" xsi : type =" array" >
223
+ <item name =" Magento\Catalog\Api\Data\CategoryInterface" xsi : type =" array" >
224
+ <item name =" getChildren" xsi : type =" string" >getChildren</item >
225
+ </item >
226
+ </argument >
227
+ </arguments >
228
+ </virtualType >
210
229
</config >
You can’t perform that action at this time.
0 commit comments