Nick
Nick
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
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