New video in the Dart series: GraphQL codegen for huge schemas.

Wait 5 sec.

By default GraphLink generates a method for every query, mutation and subscription in your schema. For schemas like GitHub, GitLab or Shopify that is a lot of code you won't use. Set autoGenerateQueries to false in the config and it only generates the operations you declare yourself, in any file you list in the config. 🎥 Video: https://youtu.be/MwoNFNJZHj4 📝 Write-up: https://medium.com/@graphlinkdev/graphql-codegen-for-huge-schemas-in-dart-turn-off-auto-generated-queries-9f5226cf8a6e For a big GraphQL schema, do you generate everything and ignore most of it, or do you declare only the operations you use?   submitted by   /u/graphlinkdev [link]   [comments]