You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current import import {Prisma} from '@prisma/client' is incorrect/outdated, it's causing lots of import errors, a bit of pain to manually correct if you have quite a few tables/entities
Current generated DTO has Eslint issues => annoying to fix myself when I have 30+ files to fix (on top of the import issue above)
The package should generate import { PrismaClient } from '@prisma/client'; for each generated dto/entity/class files, and correct the corresponding types that use the old import, rather than keep using the old import {Prisma} from '@prisma/client' for all generated files
❌ Problem:
import {Prisma} from '@prisma/client'
is incorrect/outdated, it's causing lots of import errors, a bit of pain to manually correct if you have quite a few tables/entities✅ Expected behaviour:
The package should generate
import { PrismaClient } from '@prisma/client';
for each generated dto/entity/class files, and correct the corresponding types that use the old import, rather than keep using the oldimport {Prisma} from '@prisma/client'
for all generated filesFor e.g:
💀 Old/incorrect version with import errors
🙂 Expected/correct new DTO with correct
PrismaClient
importThe text was updated successfully, but these errors were encountered: