Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
It would be great to have the types when making queries during development
Solved! Go to the solution
This is an accepted solution.
If anyone wants to do this in the future here's what I ended up doing:
Create an introspection query
https://graphql.org/graphql-js/utilities/#introspectionquery
Use the graphql-code-generator library to generate the necessary types
This is an accepted solution.
If anyone wants to do this in the future here's what I ended up doing:
Create an introspection query
https://graphql.org/graphql-js/utilities/#introspectionquery
Use the graphql-code-generator library to generate the necessary types
Curious - what did you pass in as the introspectionQuery?
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By