List of questions
Related questions
Question 45 - AD0-E716 discussion
An Adobe Commerce developer is creating a new module to extend the functionality of the cart. The module is installed in app/code/CompanyName/ModuleName/.
How would an Adobe Commerce developer extend the existing CartltemPrices GraphQL schema to include a custom base_price field?
A.
Create and Configure a for Hagento\QuoteGraphQl\Model\Resolver\CartItemPrices that adds the base_price field in the resolve() function.
B.
Add the following to the module's etc/schema.graphqis file:
C.
Add the following to the module's etc/graphqi/di.xmi file:
Your answer:
0 comments
Sorted by
Leave a comment first