craftcms / shopify

Synchronize and extend product data from your Shopify storefront.
MIT License
45 stars 25 forks source link

Added graphql support for the ProductFieldType #16

Closed kjellspijker closed 4 years ago

kjellspijker commented 4 years ago

The GraphQL endpoint for craft throws an error of expecting a string, but getting an array. This PR gives GraphQL the proper type to expect (a list of strings), allowing this plugin to be used in headless mode