Update README.md

This commit is contained in:
cond0r 2021-04-20 10:04:47 +03:00
parent a22a6618cf
commit b70ea9b1c2
2 changed files with 13 additions and 0 deletions

View File

@ -121,3 +121,15 @@ const pages = await getAllPages({
config, config,
}) })
``` ```
## Code generation
This provider makes use of GraphQL code generation. The [schema.graphql](./schema.graphql) and [schema.d.ts](./schema.d.ts) files contain the generated types & schema introspection results.
When developing the provider, changes to any GraphQL operations should be followed by re-generation of the types and schema files:
From the project root dir, run:
```sh
yarn generate:shopify
```

View File

@ -5024,6 +5024,7 @@ export type Unnamed_1_Mutation = { __typename?: 'Mutation' } & {
'code' | 'field' | 'message' 'code' | 'field' | 'message'
> >
> >
checkout?: Maybe<{ __typename?: 'Checkout' } & CheckoutDetailsFragment>
} }
> >
} }