tRPCttRPC
Powered by
zidawgZ
tRPC•10mo ago•
1 reply
zidawg

what is the format/type of data received in transformer.deserialize in httpBatchStreamLink?

trying to write a query normalizer to work together with react-query, and was hinted that i could use transformer to do it, but the format of data received in transformer.deserialize is puzzling, sometimes i receive an object, sometimes an array and sometimes nested array promises, plz help
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Custom data transformer
sh03Ssh03 / ❓-help
16mo ago
Can someone explain to me how `deserialize` works in `input` of `transformer`?
PipetteBlowerPPipetteBlower / ❓-help
2y ago
trpc 11 superjson transformer not working with unstable_httpBatchStreamLink
NeatZNNeatZ / ❓-help
13mo ago
What is the type of the query resolver?
gappedGgapped / ❓-help
10mo ago