Skip to content

GraphQL Suite

Define your Drizzle schema once — get a full GraphQL API, type-safe client, and React hooks automatically.
GraphQL Drizzle ORM TypeScript React

graphql-suite turns your Drizzle ORM table definitions into a production-ready GraphQL stack with zero code generation and full TypeScript inference.

Inspired by drizzle-graphql, this package is a purpose-built replacement focused on PostgreSQL. It generates a complete GraphQL schema with CRUD operations directly from your Drizzle tables — queries, mutations, filters, ordering, pagination, relations, and JSONB fields are all handled automatically at runtime with no codegen step. On top of that, it adds configurable hooks, permission layers, row-level security, and relation-aware filters. The type-safe client and React Query hooks are provided by the companion packages below.

A type-safe GraphQL client that infers request and response types from your Drizzle schema. Build queries with full autocomplete for select fields, filters, and relation traversals.

React hooks wrapping TanStack Query for the client. Drop useEntityList, useEntityQuery, useEntityInsert, useEntityUpdate, and useEntityDelete into your components and get caching, refetching, and optimistic updates out of the box.