Closed chrishoermann closed 1 year ago
Maybe it is better to use Prisma.Decimal.isDecimal(obj) to check if a type is a decimal instead of having to import the decimal.js library
Prisma.Decimal.isDecimal(obj)
decimal.js
now it is possible to select if decimal.js or Prisma.Decimal is used to validate a decimal. Under the hood it should be the same but why not make it possible
Prisma.Decimal
Maybe it is better to use
Prisma.Decimal.isDecimal(obj)
to check if a type is a decimal instead of having to import thedecimal.js
library