Skip to content

Commit 448b7c4

Browse files
committed
Merge branch 'MAGETWO-83424-Graph-Ql-Custom-Attributes' of https://github.com/magento-honey-badgers/magento2ce into MAGETWO-83424-Graph-Ql-Custom-Attributes
2 parents b69ee1d + 41692b5 commit 448b7c4

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/GraphQlCatalog

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
/**
1313
* Grabs the data from the product
1414
*/
15-
class ProductDataGetter implements FormatterInterface
15+
class BaseModelData implements FormatterInterface
1616
{
1717
/**
1818
* Get data from product

app/code/Magento/GraphQlCatalog/etc/graphql/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<type name="Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\FormatterComposite">
6161
<arguments>
6262
<argument name="formatterInstances" xsi:type="array">
63-
<item name="productDataGetter" xsi:type="object">Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\ProductDataGetter</item>
63+
<item name="baseModelData" xsi:type="object">Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\BaseModelData</item>
6464
<item name="customAttributes" xsi:type="object">Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\CustomAttributes</item>
6565
<item name="entityIdToId" xsi:type="object">Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\EntityIdToId</item>
6666
<item name="mediaGalleryEntries" xsi:type="object">\Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\MediaGalleryEntries</item>

0 commit comments

Comments
 (0)