Unclear error on big decimal value insert in transaction #11381
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: BigInt
scalar type `BigInt`
Bug description
An unclear error message:
is returned when attempting to insert a very big decimal value (bigger than the database allows) in a transaction.
How to reproduce
results in
because in one of the values the decimal is very big
`balances` payload
Expected behavior
Should have a clear error message, like that the value is too big.
Prisma information
Environment & setup
Go client v0.13.0 which is prisma@3.8.1
Prisma Version
The text was updated successfully, but these errors were encountered: