Closed Switch1220 closed 10 months ago
This pull request introduces the utilization of the satisfies operator in place of Prisma.validator.
satisfies
Prisma.validator
The satisfies operator provides the same benefits with no runtime impact and provides the same functionality just as Prisma.validator.
see: https://www.prisma.io/blog/satisfies-operator-ur8ys8ccq7zb
fyi: prettier 2.6.2 doesn't seem to work with satisfies, so that's the reason for bumping up the version
fixed. forgot to sync the commit
This pull request introduces the utilization of the
satisfies
operator in place ofPrisma.validator
.The
satisfies
operator provides the same benefits with no runtime impact and provides the same functionality just asPrisma.validator
.see: https://www.prisma.io/blog/satisfies-operator-ur8ys8ccq7zb