Closed ben-xD closed 1 year ago
makes sense that this is happening, the return value of the procedure gets passed to JSON.stringify()
. Definitely want to fix this, will need to use something else for converting the response into a string.
going to switch over to use https://www.npmjs.com/package/json-bigint to fix I think
should be fixed in new version
Thanks a lot! 🙏
Thanks for this library! It's great for productivity - I'm just getting started.
I get an error in the browser when the API returns an object that contains a
BigInt
. For example, the JSON looks like:I'm using superjson. It looks like both superjson and trpc-panel are documented to support BigInt. However, returning
BigInt
causes the app to go into a full white screen.Do you know what I can try to fix this?
Thanks 🙏