MartinM
tRPC16mo ago
2 replies
Martin

Using superjson transformer makes data empty

Hi!

I've been developing using trpc for the past month or so. It's been a smooth sail so far. Suddenly now the .data property on trpc queries are empty.

Checking the network tab the data is definitely there in the response, it's just undefined when accessing query.data. After some time debugging, I removed the superjson transformer from client & server, and now things are working again.

Unfortunately it also means I lack native objects (like Date).

Version: 11.0.0-rc.553
Was this page helpful?