graphql-code-generator
Prisma
| graphql-code-generator | Prisma | |
|---|---|---|
| 71 | 498 | |
| 11,184 | 44,848 | |
| 0.2% | 1.5% | |
| 8.9 | 9.9 | |
| 5 days ago | 1 day ago | |
| TypeScript | TypeScript | |
| MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graphql-code-generator
- Best headless CMS for Next.js - Typescript support comparison
But since the dotansimha/graphql-code-generator library is hugely popular, this approach is likely to be successful.
- When semantic versioning is a sham
- Integrating GraphQL Codegen with Storyblok: Step-by-Step Guide
The @graphql-codegen library is a bridge between your GraphQL schema and the actual code you write. It automates the generation of boilerplate code, ensuring that your data fetching layer is always up to date with your content structure.
- The complete GraphQL Scalar Guide
In typescript and typescript-resolvers plugin v4.0.1, we have reverted the default ID Scalar input type to string. Read the pull request for more details.
- Looking4Library: A GraphQL client that has query methods on the generated types
See https://github.com/dotansimha/graphql-code-generator with @graphql-codegen/typescript-graphql-request plugin
- graphql-code-generator VS gqless - a user suggested alternative 2 projects | 2 Jun 2023
- Making GraphQL Codegen Work For You: GraphQL Integration with React and TypeScript
Graphql Codegen is a code generation library for GraphQL that enables developers to generate custom code. It provides us developers with the ability to generate type definitions, query builders, documentation, and more by analyzing our GraphQL schemas. This makes it easier and faster to build GraphQL applications and reduces the time spent coding.
- help wanted: Typescript GraphQL Types Response
It is already incoming, with an example in the repository. 😇 https://github.com/dotansimha/graphql-code-generator/pull/8863
- Why does this package.json script for graphql-codegen only work if the package is installed directly in the package.sjon, even if it already exists in node_modules?
The actual package is @ graphql-codegen/cli
- Why we ditched GraphQL for tRPC
GraphQL Codegen generates frontend types and React hooks from our GraphQL request definitions.
Prisma
- What the React 2025 Vulnerability Taught Me About Solo Dev Security
Using Drizzle ORM or Prisma automatically parameterizes queries.
- Achieve Prisma-like Developer Experience in EF Core! Introduction to Linqraft
Let's compare this with Prisma, a TypeScript ORM. In Prisma, you can write:
- ZenStack V3: The Perfect Prisma ORM Alternative
Prisma won the hearts of many TypeScript developers with its excellent developer experience - the elegant schema language, the intuitive query API, and the unmatched type-safety. However, as time went by, its focus shifted, and innovation in the ORM space slowed down considerably. Many successful OSS projects indeed struggle to meet the ever-growing demands, but you'll be surprised to find that many seemingly fundamental features that have been requested for years are still missing today, such as:
- Hacktoberfest 2025 with Ghostfolio
The software is fully written in TypeScript and organized as an Nx workspace, utilizing the latest framework releases. The backend is based on NestJS in combination with PostgreSQL as a database together with Prisma and Redis for caching. The frontend is developed with Angular.
- 10 AI Tools That Took My SaaS Website from Zero to Launch!
5. Backend & Database (Supabase + Prisma)
- How to Make Websites That Will Require Lots of Your Time and Energy
Yes, but you can use the `nativeDistinct` preview feature rely on the DB to perform the operation.
You can see the related issue with more info:
https://github.com/prisma/prisma/issues/23846
- 300ms live captions that actually work: vocallq's real-time performance deep dive
- building sales agents that know their stuff: vocallq's domain expertise approach
- Prisma is failing – CI pipelines are being impacted
- Minimal Linktree-style web app built with Next.js 15, Prisma, BetterAuth, and ShadCN/UI.
Prisma ORM
What are some alternatives?
nexus - Code-First, Type-Safe, GraphQL Schema Construction
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
contentful-typescript-codegen - Generate TypeScript interfaces from a Contentful environment
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
orval - orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.