ItsWendell
Explore posts from serversDeduping is broken, but is being batched
Don't know the exact cause, but we managed to remove the custom trpcQueryCache and use the built-in one which might have fixed the problem, we used it to evict the cache after logout but are now using useQueryClient() + queryClient.clear() instead.
4 replies
somehow when move typed function out of the router files, frontend infer type to be any ?
BUT I believe this might have performance impact + it's annoying to have to think about adding this to every package that consumes the API service types
9 replies
somehow when move typed function out of the router files, frontend infer type to be any ?
I have a simar issue with a turbo repository, where 'second hand' types are infered as any, e.g. I have a package with the TRPC API, which might return types from an external package.
I use the TRPC package types in our app, but all types that are infered from external packages are any, all types that I give directly are fine.
9 replies
Proxy TRPC server to another client
Since Durable Objects are not accessable outside of Workers, both of which can be viewed as servers. E.g. server A can only access server B, but I want the client to be able to access server B through server A.
8 replies