FloydJohn
PPrisma
•Created by FloydJohn on 8/29/2024 in #help-and-questions
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!5 replies