I am trying to migrate to Prisma 4.0.0, but BigInt...
# orm-help
h
I am trying to migrate to Prisma 4.0.0, but BigInt json serialization is not supporting, so everything is failing, is 4.0.0 not a stable release?
1
v
Copy code
I am also getting BigInt's now somehow back from a database with no BigInt in it's schema...
Copy code
Everything in my db is just Int, yet raw queries return bigint
Copy code
ok it seems like it is a result of an aggregate type done in raw query
@Halvor Thank you for joining the community and using Prisma 4! One minor ask if you don’t mind: it would be great if you could use Slack’s thread feature when responding to users. This helps keep the main conversation channel a bit more clear 🙏
h
Thx will do, my solution was to cast aggregate types to the value i wanted, in this case INTEGER with Postgres :-)
👍 1