-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
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
[BUG] After upgrading to Prisma 8, the Repository class does not have the Prisma object injected. #2927
Comments
1 similar comment
🎉 This issue has been resolved in version 8.3.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
same error after upgrade to v8.3.1
The error occurs when calling the Repository after the service starts, not during the generation process. |
Ok. It appears the problem doesn't occurs when we use output option: generator tsed {
provider = "tsed-prisma"
output = "../src/__generated__"
} |
Fix is on going ;) |
🎉 This issue has been resolved in version 8.3.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Describe the bug
To Reproduce
npx prisma migrate deploy
is sucessExpected behavior
it works,before upgraded to tsed 8, I have already made upgrade adjustments according to this document https://tsed.dev/introduction/migrate-from-v7.html
Code snippets
@tsed/prisma/lib/.schema/repositories/JobsRepository.js
schema.prisma
I tried changing the provider value to
tsed-prisma
, but the same error occurred.Repository URL example
No response
OS
macOS
Node version
Node v20.11.1
Library version
v8.3.0
Additional context
No response
The text was updated successfully, but these errors were encountered: