BigInt issue? #879
Labels
bug/0-unknown
Bug is new, does not have information for reproduction or reproduction could not be confirmed.
kind/bug
A reported bug.
topic: BigInt
topic: Do not know how to serialize a BigInt
prisma -v
ornpx prisma -v
):Does the issue persist even after updating to the latest
prisma
CLI dev version? (npm i -D prisma@dev
)Got this warning:
Versions of prisma@3.11.0-dev.61 and @prisma/client@3.10.0 don't match.
Tried to run prisma studio anyways, the issue persisted.
Prisma schema (if relevant):
So, I created 2 customers and 1 order. At first I set customer 1 as owner of the order. Then I switched the order to have the second customer as owner of the order. Then I tried clicking on any of the "order" buttons under the customer table and then prisma studio gave me the type error.
I tried changing the id types from BigInt to Int and re-did the whole operation. Now it works fine.
Is there some issue with BigInt?
Just saw that this is a duplicate and this issue has been posted here too: #816 (comment)
Should this be closed?
The text was updated successfully, but these errors were encountered: