Skip to content
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

fix(deps): update prisma monorepo to v4 (major) #7671

Merged
merged 9 commits into from
Aug 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
prefer early exit
  • Loading branch information
dcousens committed Aug 22, 2022
commit ae242eeb5bbb6b5e507188ee0da9998ae679add8
2 changes: 1 addition & 1 deletion packages/core/src/lib/core/mutations/create-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ function transformInnerDBField(
) {
if (dbField.kind === 'scalar' && dbField.scalar === 'Json' && value === null) {
const Prisma = getPrismaNamespace(context);
value = Prisma.DbNull;
return Prisma.DbNull;
}
return value;
}
Expand Down