Skip to content

[BUG] enabling logPrismaQuery while having queries that use BigInt leads to serialization error #2106

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

Open
Tsimopak opened this issue May 1, 2025 · 0 comments

Comments

@Tsimopak
Copy link

Tsimopak commented May 1, 2025

I enabled LogPrismaQuery while using BigInt update in a Zesntack Front Hooks.
And I got an error from the server that:

{"error":{"message":"Do not know how to serialize a BigInt"}}

INFO:
"devDependencies": {
"prisma": "6.6.x",
"typescript": "^5.8.3",
"zenstack": "2.14.0"
},
"dependencies": {
"@prisma/client": "6.6.x",
"@zenstackhq/runtime": "2.14.0"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant