Overview of nitrogql
masternitrogql is a toolchain designed for using GraphQL in TypeScript projects. It provides two primary capabilities:
- Type generation with sourcemap support: It generates TypeScript types for your GraphQL schema and queries. It also produces sourcemap files that map these generated types back to the original GraphQL source. This allows IDEs (like VSCode) to jump directly to the original GraphQL query/schema instead of showing generated code when using commands like "Peek Definition".
- Static checking: It can statically check your GraphQL code to prevent runtime errors caused by type mismatches between your queries and your schema.