Nick
Nick
TtRPC
Created by wleistra on 1/8/2025 in #❓-help
Cannot read __untypedClient from undefined error when try to update to latest 11.rc### versions
Hm @Alex / KATT 🐱 did we change anything which could affect this? I’m less familiar in this area
56 replies
TtRPC
Created by Gary, el Pingüino Artefacto on 1/5/2025 in #❓-help
Type safe errors?
The formatter just sets the shape / union of types.
7 replies
TtRPC
Created by Gary, el Pingüino Artefacto on 1/5/2025 in #❓-help
Type safe errors?
Yes you should be throwing sensible errors that you can handle later
7 replies
TtRPC
Created by wleistra on 1/8/2025 in #❓-help
Cannot read __untypedClient from undefined error when try to update to latest 11.rc### versions
Can you share a repro?
56 replies
TtRPC
Created by wleistra on 1/8/2025 in #❓-help
Cannot read __untypedClient from undefined error when try to update to latest 11.rc### versions
That actually sounds like you're missing a provider or haven't created the client/provider properly
56 replies
TtRPC
Created by Gary, el Pingüino Artefacto on 1/5/2025 in #❓-help
Type safe errors?
errorFormatter is what you want
7 replies
TtRPC
Created by Mayhul on 1/6/2025 in #❓-help
Migrating to use Superjson
Honestly sounds like a situation to have a load balancer which checks the app version via headers/useragent and a second deployment without the transformer in place
6 replies
TtRPC
Created by thecahnartist on 1/3/2025 in #❓-help
Turn off batching for some queries?
I don’t believe there’s currently a way to control this at a query level but PRs would be welcome
4 replies
TtRPC
Created by thecahnartist on 1/3/2025 in #❓-help
Turn off batching for some queries?
You could use a splitLink to decide if a request goes into a batch link or a normal link
4 replies
TtRPC
Created by iodamiano on 12/17/2024 in #❓-help
TRPC-Image
you're not going to get any simpler than 2 procedures and 2 files mate
6 replies
TtRPC
Created by iodamiano on 12/17/2024 in #❓-help
TRPC-Image
Not fully documented yet but the example project is simple to read
6 replies
TtRPC
Created by iodamiano on 12/17/2024 in #❓-help
TRPC-Image
6 replies
TtRPC
Created by Peform on 10/13/2024 in #❓-help
onSuccess mutation not being called
This probably goes way beyond the component you've shared given it's a prop. I'd expect you're remounting the component or wiping out the QueryClient somehow
2 replies
TtRPC
Created by jlarmst on 10/14/2024 in #❓-help
v11 incompatible with `@tanstack/react-query` > 5.59.9
(maybe even closed now actually)
4 replies
TtRPC
Created by jlarmst on 10/14/2024 in #❓-help
v11 incompatible with `@tanstack/react-query` > 5.59.9
this is being worked on, there's an open PR on github you can track
4 replies
TtRPC
Created by feng on 6/28/2024 in #❓-help
How to use output validation for dates? (Zod, SuperJSON)
Your data is legitimately wrong
5 replies
TtRPC
Created by feng on 6/28/2024 in #❓-help
How to use output validation for dates? (Zod, SuperJSON)
Validators DO run before your transformer runs
5 replies
TtRPC
Created by Kimblis on 6/25/2024 in #❓-help
New versions doesn't fit the docs?
you need to use trpc @next which is the v11 tag
5 replies
TtRPC
Created by lemonek on 4/29/2024 in #❓-help
TRPClientError: Unexpected character
Usually a sign that something between the client and the server isn’t working in the infrastructure
5 replies
TtRPC
Created by Elven on 4/21/2024 in #❓-help
Error with v11 when using batching
If you can share details about your tRPC setup on the server that would be perfect
9 replies