Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 582 Bytes

File metadata and controls

19 lines (13 loc) · 582 Bytes

Substrate Chain (GraphQL API).

Getting Started

yarn
yarn start:dev

Generate types for resolvers

  1. Make sure server is running with yarn start:dev
  2. Run the generate command (it will look up the graphql schema and generate the types)
yarn codegen
  1. if using resolver chaining you need to add the Partial type as a mapper in codegen.yml. see examples in the this blog post.