Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit c146e84

Browse files
committed
MAGETWO-85971: Creating resolvers for the price data and adjustments
1 parent 8fab71c commit c146e84

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)