{"repo":"piglovesyou/graphql-let","free":true,"listed":false,"github":"https://github.com/piglovesyou/graphql-let","clone":"git clone https://github.com/piglovesyou/graphql-let.git","description":"A webpack loader / babel-plugin / babel-plugin-macros / CLI / generated file manager of GraphQL code generator.","language":"TypeScript","stars":452,"topics":["typescript","graphql","webpack-loader","graphql-codegen","babel-plugin","jest-transformer","babel-plugin-macros"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"graphql-let A webpack loader/babel-plugin/babel-plugin-macros/CLI/generated file manager of GraphQL code generator. Try Create React App example and Next.js example integrating graphql-let. A blog post 🛰 Migration guide to v0.18.0 Table of Contents - Why this exists - Entrypoints and features - Getting started with webpack loader - Getting started with babel-plugin-macros - Getting started with Babel Plugin - Difference between .graphql-let.yml and codegen.yml - Jest Transformer - Experimental feature: Resolver Types - FAQ - Contribution - License Why this exists One of the strengths of GraphQL is enforcing data types on runtime. Further, TypeScript and GraphQL code generator help it even safer by typing your codebase statically. Both make a truly type-protected development environment with rich IDE assists. graphql-let enhances that development pattern by minimizing configuration setup, introducing intuitive syntax, and comfortable development experience through HMR (hot module replacement). Entrypoints and features Summary of characteristics of each entrypoint. - CLI for efficient code generation before your type checking - webpack loader to get HMR even on modifying GraphQL documents - babel-plugin-macros for the minimum configuration - Babel plugin if you don't want babel-plugin-macros All of them mostly do the same behind the scene. 1. Loads your configuration from .graphql-let.yml 2. Finds GraphQL documents (queries, mutations, subscriptions) from .graphql and .ts spec","default_branch":null,"files":null,"tree":[],"storefront":"/r/piglovesyou","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/piglovesyou/graphql-let/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}