1
vote
Accepted
Extend Magento2 GraphQl Product Query?
Try this code
app/code/VendorName/ModuleName/etc
schema.graphqls
interface ProductInterface {
faqList: [faqsList] @doc(description: "FAQ array added to the product query") @resolver(class: ...
1
vote
Extend Magento2 GraphQl Product Query?
Replace schema.graphqls with below and check
interface ProductInterface {
faqList: [faqsList] @doc(description: "Custom field added to the product query") @resolver(class: "Vendor\\...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
api × 1706magento2 × 836
rest-api × 581
magento-1.9 × 248
soap × 240
product × 74
orders × 70
php × 67
soap-api-v2 × 61
magento-1.7 × 59
magento-2.1 × 58
customer × 58
magento-1.8 × 51
magento2.3 × 42
cart × 42
oauth × 42
magento2.2 × 37
module × 32
web-services × 31
wsdl × 30
checkout × 28
category × 26
sales-order × 26
error × 23
json × 22