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!

Features:

  • 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

2 Likes

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