Jack Fischer
Jack Fischer3y ago

Difference in type inference for vanilla client?

Hello, querying an endpoint with the vanilla tRPC client but at runtime the actual result isn't the inferenced type but {json: ..., meta: ...}, am I doing something wrong?
4 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Jack Fischer
Jack FischerOP3y ago
Ah ha yes! We do have superjson and are on V9
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Jack Fischer
Jack FischerOP3y ago
Fantastic, that was it. Thanks Yeah turns out I had done that in a subtle place for the hooks but not the vanilla client 🤦‍♂️

Did you find this page helpful?