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