Does Shopify have a GraphQL client library for the Admin API written in Typescript?

Solved
Highlighted
Shopify Partner
31 2 6

It would be great to have the types when making queries during development

0 Likes
Highlighted
Shopify Partner
31 2 6

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

0 Likes