Open gnvcor opened 2 months ago
What version of Prisma are you using? Do you have a BigInt
field in your Prisma Schema?
Now, i used prisma@5.15.0 and i catch error Message: Do not know how to serialize a BigInt
Yep, i have BigInt in my Prisma Schema. But, early, my schema don't have type BigInt, i used simple Int type.
May be i have problem, because part data in my table have type Int and rest data have type BigInt?
Bug description
TypeError: Do not know how to serialize a BigInt at JSON.stringify ()
at St.serialize (http://localhost:5555/assets/index.js:1:50152)
at St.update (http://localhost:5555/assets/index.js:1:11860)
at Cc (http://localhost:5555/assets/vendor.js:50:6994)
at St.n (http://localhost:5555/assets/vendor.js:50:6688)
at St.update (http://localhost:5555/assets/index.js:1:50009)
at Cc (http://localhost:5555/assets/vendor.js:50:6994)
at St.n (http://localhost:5555/assets/vendor.js:50:6688)
at Yr.handleCellValueChanged (http://localhost:5555/assets/index.js:1:212591)
at valueSetter (http://localhost:5555/assets/index.js:1:208303)
How to reproduce
Expected behavior
No response
Prisma information
Environment & setup
Prisma logs
No response