Development discussions around Shopify APIs
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?
User | RANK |
---|---|
11 | |
6 | |
5 | |
5 | |
5 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022