-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Bug description
Running the generator after following the instructions results in no files being output. I have attached a public repository that hows a simple Prisma schema (copied from Prisma's getting started tutorial).
To Reproduce
Steps to reproduce the behavior:
- Checkout https://github.com/hamzaaftab/prisma-tgql-types-gen-bug
- Add DATABASE_URL = "" in .env to somewhere you host your DB
- Run "npx prisma migrate dev"
- See that models/ directory is generated but no files are inside it
Expected behavior
models/ directory should have a file per table
Prisma information
https://github.com/hamzaaftab/prisma-tgql-types-gen-bug/blob/main/prisma/schema.prisma
Environment & setup
- OS: Macos
- Database: PostgreSQL
- Node.js version: v18.12.1
Prisma Version
4.8.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed