Skip to content

Commit b489bee

Browse files
committed
fix can not set endpoint
1 parent 6347a7f commit b489bee

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

etc/graphql/di.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,13 @@
2828
</argument>
2929
</arguments>
3030
</type>
31+
<type name="Magento\Framework\GraphQl\Schema\Type\Entity\DefaultMapper">
32+
<arguments>
33+
<argument name="map" xsi:type="array">
34+
<item name="catalog_product" xsi:type="array">
35+
<item name="mp_store_credit" xsi:type="string">StoreCreditProduct</item>
36+
</item>
37+
</argument>
38+
</arguments>
39+
</type>
3140
</config>

0 commit comments

Comments
 (0)