Update peer dependency for @prisma/client to include v7#519
Update peer dependency for @prisma/client to include v7#519AlexHartford wants to merge 1 commit intoQuramy:mainfrom
Conversation
|
@Quramy Could you please take a look at this PR when you have a chance? It would be great to have Prisma v7 support. Thank you! |
|
Hey @AlexHartford & @hisabimbola, have either of you been using a version of this change (e.g., a temporary fork) in the meantime? Starting a new project at work, and the fabbrica API is so much nicer than factory-js/prisma... so I'm tempted to start with a fork until Prisma 7 is officially supported 😬 Curious if you've been using it, and if so, if it's worked out alright? |
|
@notnotdrew, I've been using this with no trouble. Since there's no change on fabbrica to make it work with prisma v7, you can just force it to work by adding an override in your {
"dependencies": {
"@prisma/client": "^7.4.0"
},
"devDependencies": {
"@quramy/prisma-fabbrica": "^2.3.0"
},
"overrides": {
"@quramy/prisma-fabbrica": {
"@prisma/client": "^7.4.0"
}
}
} |
|
Yeah, I also use override in pnpm and it works |
|
Also use the override! Bigger issues come from things like soft delete middleware... if anyone has leads on getting that working with the fluent API in v7 I'd be all ears |
With prisma 7 released, it would be great if this package were updated to work with it.