Skip to content

Commit 96b14b9

Browse files
PWA-2110: Making GraphQl TotalsCollector helper use proxy dependencies
1 parent 88628f8 commit 96b14b9

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/QuoteGraphQl/etc/graphql

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@
2626
<type name="Magento\Framework\GraphQl\Query\ResolverInterface">
2727
<plugin name="reset-totals" type="Magento\QuoteGraphQl\Plugin\ResetStoredTotalsBeforeTopResolver" sortOrder="1"/>
2828
</type>
29+
<type name="Magento\QuoteGraphQl\Model\Cart\TotalsCollector">
30+
<arguments>
31+
<argument name="quoteTotalsCollector" xsi:type="object">Magento\Quote\Model\Quote\TotalsCollector\Proxy</argument>
32+
</arguments>
33+
</type>
2934
</config>

0 commit comments

Comments
 (0)