Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when change prop in table (in prisma studio) #1241

Open
gnvcor opened this issue May 1, 2024 · 2 comments
Open

Error when change prop in table (in prisma studio) #1241

gnvcor opened this issue May 1, 2024 · 2 comments
Labels
bug/1-unconfirmed Bug should have enough information for reproduction, but confirmation has not happened yet. kind/bug A reported bug. topic: BigInt topic: Do not know how to serialize a BigInt

Comments

@gnvcor
Copy link

gnvcor commented May 1, 2024

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

  • OS:
  • Browser:
  • Database:

Prisma logs

No response

@gnvcor gnvcor added the kind/bug A reported bug. label May 1, 2024
@janpio janpio added the bug/1-unconfirmed Bug should have enough information for reproduction, but confirmation has not happened yet. label Jun 7, 2024
@janpio
Copy link
Contributor

janpio commented Jun 7, 2024

What version of Prisma are you using? Do you have a BigInt field in your Prisma Schema?

@gnvcor
Copy link
Author

gnvcor commented Jun 13, 2024

Now, i used [email protected] 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/1-unconfirmed Bug should have enough information for reproduction, but confirmation has not happened yet. kind/bug A reported bug. topic: BigInt topic: Do not know how to serialize a BigInt
Projects
None yet
Development

No branches or pull requests

2 participants