Thibaut Tiberghien
Thibaut Tiberghien
..and we're excited at the new capabilities this unlock. Thanks to the team :).
Hi, this seems a bit dated, I understand headers are now async and moved to the links, but is getting the `op` as argument something that's possible or being considered?
More about my use-case: I have procedures that can be called publicly or authenticated and will be processed slightly differently on the server. I want to set headers on a...
Thinking about the problem in a different way (might be a really bad idea). Would providing a custom fetcher option on @trpc/react-query be a solution? A bit similar to how...
@KATT isn't `headers(op)` what you had in #2024? any plans to bring it into v10? https://github.com/trpc/trpc/pull/2024/files#diff-671e79295e2c31c75769e93c3c10ebaea24b2dc466d3a82d0865548a8a1e318dR10-R16
Hello, I'm still wondering if there is any chance you may bring back (or be open to helping out on a PR) `headers(op)` on non batch http link? ``` type...
Thanks for reverting 🙏. I've open #4071. I'll try your suggestion in the meantime but i'm not entirely sure how I would set that up as the header values do...
Are there any known workaround? `useProfiler` seems similar, maybe worth pointing to it?
Thanks @Twipped. I have actually managed to replace `withProfiler` with `useProfiler` to get around this issue. Forgot to post here.
That's really great, thanks @chosslore. And for the absolute kill, are there plans to add the same Studio experience as for previous styles?