Storefront Schemautility
utility
Hydrogen React ships with a pre-generated GraphQL schema for the Storefront API, which can integrate with your IDE and other GraphQL tooling (such as a GraphQL config file) to provide autocompletion and validation for your Storefront API GraphQL queries.
This schema is generated using the Storefront API's introspection query, and is available at .
To get these features working in your IDE, you may need to install an extension. For example, in VSCode you can install this GraphQL extension.
Was this section helpful?
.graphqlrc.yml
GraphQL Config File
schema: node_modules/@shopify/hydrogen/storefront.schema.json