Graph Codegen TS

The team at Synthetix, led by dbeal, has developed a new tool to simplify the process of querying subgraphs. And it is typescript compatible!


  • supports all options one would use in a graphql query, without needing to format a query
  • full & advanced type checking and exported types
  • supports multiple library modes (currently plain async-await functions, and react-query functions)
  • automatic pagination

In summation, use this in your client and writing queries against your subgraphs will be a piece of cake


we are looking for feedback to improve the tool, let us know about your experience using it!!!