magento2
magento2 copied to clipboard
[Bug]: Override custom query without thumbnail for product will break the app
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
- Create customQueries with a valid GraphQL query, without
thumbnail - 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