Storefront Schema
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.
Examples
GraphQL Config File
schema: node_modules/@shopify/hydrogen-react/storefront.schema.json
Examples
.graphqlrc.yml
Description
I am the default example
GraphQL Config File
schema: node_modules/@shopify/hydrogen-react/storefront.schema.json
Was this page helpful?