Closed SylarRuby closed 4 years ago
How to fetch a single product? How to include the bodyHtml? I ask because Graphql complains that those does not exist. Example:
query query { shop { name description products(first:20) { pageInfo { hasNextPage hasPreviousPage } edges { node { id title bodyHtml [...]
"GraphQL error: Field 'bodyHtml' doesn't exist on type 'Product'"
Also, what's the purpose of the types.js file? It's not being used anywhere.
How to fetch a single product? How to include the bodyHtml? I ask because Graphql complains that those does not exist. Example:
Also, what's the purpose of the types.js file? It's not being used anywhere.