Closed PeterDekkers closed 3 years ago
Circular Structure ...
seems to be a display error in Next.js.
The real error that occurs is Do not know how to serialize a BigInt
. This is likely a problem with SuperJSON itself. I'll take a look at it.
@Skn0tt thanks also for filing the bug fix in Next.js. Nice one!
Hello!
It seems that whenever I have a
BigInt
value in my data I get a server error:The versions I am using are:
Here's a minimal reproduction: