You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(node:48282) UnhandledPromiseRejectionWarning: TypeError: Do not know how to serialize a BigInt
at JSON.stringify (<anonymous>)
at Job.asJSON (/Users/mac/code/oe-tr-be-prisma/node_modules/.pnpm/bullmq@1.15.1/node_modules/bullmq/src/classes/job.ts:159:18)
at Job.addJob (/Users/mac/code/oe-tr-be-prisma/node_modules/.pnpm/bullmq@1.15.1/node_modules/bullmq/src/classes/job.ts:484:26)
at Function.create (/Users/mac/code/oe-tr-be-prisma/node_modules/.pnpm/bullmq@1.15.1/node_modules/bullmq/src/classes/job.ts:73:24)
The text was updated successfully, but these errors were encountered:
I'm having the same issue when dealing with bigint and yes we can handle it locally with the example provided on mdn, but shouldn't this be taken care of by bullmq instead wherever they make use of JSON.stringify?
use graphql bigint
Maybe this can solve this problem GoogleChromeLabs/jsbi#30 (comment)
The text was updated successfully, but these errors were encountered: