We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug If defining nullable column in schema.prisma, fabbrica generator fails to transpile.
To Reproduce
Rewrite example-prj's schema.prisma in this repository as like followed by example.
generator client { provider = "prisma-client-js" previewFeatures = ["interactiveTransactions"] } generator fabbrica { provider = "prisma-fabbrica" } datasource db { provider = "sqlite" url = env("DATABASE_URL") } model User { id String @id name String? posts Post[] } model Post { id String @id title String author User @relation(fields: [authorId], references: [id]) authorId String }
and npx prisma migrate dev
npx prisma migrate dev
Expected behavior
Generate fabbrica codes.
Your Schema
Environment (please complete the following information):
@prisma/client
Additional context
The text was updated successfully, but these errors were encountered:
Oops, I'm sorry. I'll fix this and thanks for your reporting!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
If defining nullable column in schema.prisma, fabbrica generator fails to transpile.
To Reproduce
Rewrite example-prj's schema.prisma in this repository as like followed by example.
and
npx prisma migrate dev
Expected behavior
Generate fabbrica codes.
Your Schema
Environment (please complete the following information):
@prisma/client
version [4.6.1]Additional context
The text was updated successfully, but these errors were encountered: