finds.dev← search

// the find

steebchen/prisma-client-go

★ 2,282 · Go · Apache-2.0 · updated Jul 2025

Prisma Client Go is an auto-generated and fully type-safe database client

Prisma Client Go brings the Prisma schema-first workflow to Go, auto-generating a type-safe query builder from your schema.prisma file. It targets Go developers who already know Prisma from the JS/TS ecosystem and want the same declarative modeling and migration tooling on the backend. The catch: it was just deprecated and will not support Prisma v7+.

The generated API is genuinely type-safe — filter fields, relation includes, and return types are all compile-checked, which eliminates a whole class of runtime surprises you get with gorm or raw sqlx. The schema-first approach means migrations, models, and the query builder stay in sync automatically; no manual struct tags to drift. The mock engine is a real feature, not an afterthought — generated mock types let you test database logic without a real DB. Test coverage is thorough: per-database, per-feature integration tests against real engines, not just unit tests against stubs.

It is deprecated. The README says so in the first paragraph — no upgrades past Prisma v6, and the maintainer is actively asking for sponsors to keep it alive. Adopting this today means building on a dead end. The architecture bundles a binary query engine sidecar (the Prisma engine written in Rust), which complicates deployment — you ship a Go binary plus a platform-specific engine binary, and Docker setups require explicit configuration. Alpha status since the project started means some Prisma features (e.g., full-text search, certain aggregations) are either missing or undocumented. The single-maintainer bus factor is not reassuring for production use.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →