Genql vs graphql-code-generator

Genql generates an type safe SDK you can use with your GraphQL API, graphql-code-generator instead generates only the types and other utilities based on your queries
  1. you only generate your client once, only when your schema changes and not every time you change a query
  1. easier setup, just need to install 1 package and run 1 command
  1. more opinionated, no plugins or much configuration
  1. can be easily integrated with any other GraphQL client using generatedQueryOp
  1. no runtime dependencies (not even graphql)
Share