magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

[Bug]: Override custom query without thumbnail for product will break the app

Open mayashavin opened this issue 4 years ago • 0 comments

Expected Behavior

Expect: the app should not break when I define a valid custom query (without thumbnail field)

Actual Behavior

It crashed because it looks for thumbnail as image to render (?!)

Possible Solution

image should be configurable.

Steps to reproduce

  1. Create customQueries with a valid GraphQL query, without thumbnail
  2. Run the app

What version of Magento 2 integration are you using?

1.0.0-rc.5.4

What version of Node.js are you using?

16.13.1

What browser (and version) are you using?

Chrome

What operating system (and version) are you using?

MacOS

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

mayashavin avatar Mar 08 '22 18:03 mayashavin