Alex / KATT
Alex / KATT
Background: https://github.com/trpc/trpc/issues/2160 If you add me as a contributor I can open a better PR on origin and follow the guidelines better. :)
## Question / help needed I'm trying to get authorization working before connecting to websockets, which works, but I'm struggling to return an error message that isn't `500`. I've managed...
Closes # ## π― Changes - Make `TRPCClientError` polymorphic so it can _both_ take a `Procedure` or a `Router` to create - Move react related tests to test folder ##...
From @dyaa in https://github.com/trpc/trpc/issues/2352#issuecomment-1208122411 > It seems like we'll need to make a breaking naming change to the `OperationContext` property name from `context` to something else _ex. `requestContext`_ to avoid...
Ability to do this: ```ts type User = { id: string; name: string; roomIds: string[]; }; type Context = { user: User | null; }; const isAuthed = t.middleware(({ next,...
## Problem Currently, it's possible to use the old client APIs to call the new ways of defining routers and procedures and the other way around. This creates quite a...
React-query doesn't automagically detect that you do `{suspense: true}`. Goal: when doing `const result = useQuery(['post.all', { suspense: true} ])` we want `result.data` to be non-nullable. Another approach would be...
### Discussed in https://github.com/trpc/trpc/discussions/2282 Originally posted by **IgnusG** July 21, 2022 I noticed that v10 abandoned the cancelable promise design returning instead a plain promise. How can you cancel a...
Drop your company name, svg logo, link to your website, and links to any repos using tRPC! π Some companies I know myself - [cal.com](https://cal.com) - Scheduling startup, [it's open...