Martin
Martin
TtRPC
Created by Martin on 10/3/2024 in #❓-help
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
2 replies
TtRPC
Created by Martin on 3/22/2023 in #❓-help
Using generics duplicates the types instead of referring to the existing types
1 replies