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?![](https://utfs.io/f/4c4481e4-6805-4628-a82d-5372050b9520-am59sj.58.22_PM.png)
![](https://utfs.io/f/ae66d528-95f0-45b1-b2a6-2dd46328c0f8-am59sj.59.54_PM.png)
4 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Ah ha yes! We do have superjson and are on V9
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Fantastic, that was it. Thanks
Yeah turns out I had done that in a subtle place for the hooks but not the vanilla client 🤦♂️