PrismaP
Prisma2y ago
4 replies
FloydJohn

TypedSQL - Generating without a DB connection

Hey everyone! We are trying out TypedSQL and it's working great for now.
The main issue we're having is that to generate the complete client (with the --sql flag), a working database connection is required.
As we're building our production containers on a stateless CI environment, we would like to avoid this constraint.

Is there a way to correctly infer and build TypedSQL types directly from the schema.prisma file?

Thanks!
Was this page helpful?