Automatically generate GraphQL schema or customizable schema config fields from Drizzle ORM schema. Current stable version is 0.8.5, with a moderate release cadence. It wraps Drizzle ORM tables into GraphQL types, queries, mutations, and inputs, allowing rapid GraphQL API creation. Differentiators: tight integration with Drizzle ORM, automatic schema generation with TypeScript types, and flexible customization via entities object.
npm install drizzle-graphqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a Drizzle ORM table, create a database instance, build the GraphQL schema with buildSchema, and serve it with GraphQL Yoga.
Update your peer dependencies to compatible versions.
Use ES module syntax (import) or configure your project for ESM.
Always check that db is properly initialized and schema is valid.
Run 'npm install drizzle-graphql' and ensure you have proper TypeScript configuration.
Replace require() with import or set 'type': 'module' in package.json.
Verify your Drizzle schema exports the table with the expected name and pass db correctly to buildSchema.