Skip to content

Commit

Permalink
update changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Aug 2, 2022
1 parent 7bf8e1d commit 702e609
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .changeset/slow-games-greet.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
'@keystone-6/core': major
---

Changes the return type for `resolveInput` hook for `json` fields. Previously you used `'DbNull'` or `'JsonNull'` for respective null magic values - you can now use a Javascript `null` value which is mapped by Keystone to a `Prisma.DbNull`.
Changes the return type for the `resolveInput` hook with `json` fields. Previously you may have used `'DbNull'` or `'JsonNull'` as respective null magic values - you can now always use a Javascript `null` value.
Unlike previous behaviour, a null value will now consistently map to a `Prisma.DbNull`.

0 comments on commit 702e609

Please sign in to comment.