Skip to content

VienDinhCom/apollo-codegen-for-shopify-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apollo Codegen for Shopify Example

Run npm run codegen to generate TypeScript types.

This is the apollo.config.js for Shopify working with Apollo CLI and Apollo VSCode extension.

module.exports = {
  client: {
    service: {
      name: 'shopify',
      url: 'https://graphql.myshopify.com/api/graphql',
      headers: {
        'X-Shopify-Storefront-Access-Token': '078bc5caa0ddebfa89cccb4a1baa1f5c',
      }
    },
    excludes: ['**/node_modules/**/*'],
    includes: ['**/*.ts'],
  }
};

About

Apollo Codegen for Shopify Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published