Nick
Nick
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
TtRPC
Created by Elven on 4/21/2024 in #❓-help
Error with v11 when using batching
I have a good idea what’s causing this and falling back to your last working release should be fine
9 replies
TtRPC
Created by Elven on 4/21/2024 in #❓-help
Error with v11 when using batching
Thanks, could you raise a bug ticket along with a small reproduction?
9 replies
TtRPC
Created by jlarmst on 4/21/2024 in #❓-help
v11 `Invalid Content-Type header`
The header is mandatory for the first time now, so we're suspecting something non-vanilla in the mix
15 replies
TtRPC
Created by jlarmst on 4/21/2024 in #❓-help
v11 `Invalid Content-Type header`
Sure, for now you could give us an idea of what environment the issue is appearing in. Does it happen locally? Any reverse proxy etc? How are your links configured?
15 replies
TtRPC
Created by jlarmst on 4/21/2024 in #❓-help
v11 `Invalid Content-Type header`
Yep a reproduction at very least woulds be super helpful 🙂
15 replies
TtRPC
Created by Asaf on 3/8/2024 in #❓-help
is it possible to set a response middleware on Vanilla trpc client?
I expect this would be a Link, which you can definitely write for yourself. But I’m really not totally sure of the capabilities of links without consulting the docs and having a play
2 replies
TtRPC
Created by BeBoRE on 2/18/2024 in #❓-help
tRPC doesn't explicitly check Content-Type
A github issue with some kind of reproduction for how this is a risk would be helpful, doing it here if you think there's an issue won't lead it to be looked at
9 replies
TtRPC
Created by rik on 2/21/2024 in #❓-help
Beginner Client Problems
Our docs also will have examples
8 replies
TtRPC
Created by rik on 2/21/2024 in #❓-help
Beginner Client Problems
You need to have a read of the react query docs because that’s not how you use useMutation
8 replies
TtRPC
Created by SwagSupreme on 2/18/2024 in #❓-help
How to protect against Cross Site Request Forgery (CSRF)
Feel free to open a pr for the docs 🙂
5 replies
TtRPC
Created by DINO on 2/19/2024 in #❓-help
useMutation() runs 3 times
Ah that’s a niche case
14 replies
TtRPC
Created by DINO on 2/19/2024 in #❓-help
useMutation() runs 3 times
But it’s a strange one of the network call is coming back with a 2xx status
14 replies