Skip to content

Commit c82b59c

Browse files
committed
MAGETWO-87003: Graphql Bundle product implementation
- refactoring
1 parent fe41836 commit c82b59c

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

app/code/Magento/BundleGraphQl/etc/di.xml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,4 @@
1616
</argument>
1717
</arguments>
1818
</type>
19-
<type name="Magento\Framework\GraphQl\Type\Entity\DefaultMapper">
20-
<arguments>
21-
<argument name="map" xsi:type="array">
22-
<item name="catalog_product" xsi:type="array">
23-
<item name="bundle" xsi:type="string">BundleProduct</item>
24-
</item>
25-
</argument>
26-
</arguments>
27-
</type>
2819
</config>

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
</argument>
2121
</arguments>
2222
</type>
23-
<type name="\Magento\Framework\GraphQl\Type\Enum\DefaultDataMapper">
23+
<type name="Magento\Framework\GraphQl\Type\Enum\DefaultDataMapper">
2424
<arguments>
2525
<argument name="map" xsi:type="array">
2626
<item name="ShipBundleItemsEnum" xsi:type="array">
@@ -38,4 +38,13 @@
3838
</argument>
3939
</arguments>
4040
</type>
41+
<type name="Magento\Framework\GraphQl\Type\Entity\DefaultMapper">
42+
<arguments>
43+
<argument name="map" xsi:type="array">
44+
<item name="catalog_product" xsi:type="array">
45+
<item name="bundle" xsi:type="string">BundleProduct</item>
46+
</item>
47+
</argument>
48+
</arguments>
49+
</type>
4150
</config>

0 commit comments

Comments
 (0)