Alex / KATT

Results 158 issues of Alex / KATT

Automatically make a data transfer object to corresponds to what `JSON.parse(JSON.stringify(obj))` would do. ## Example **Convert this...** ```ts interface Post { author: string title: string datePublished: Date } ``` **......

πŸ’‘ ideas
πŸ™ review please

### Discussed in https://github.com/trpc/trpc/discussions/2017 Originally posted by **skovhus** June 17, 2022 From the documentation and code example it seems like Client side HTTP headers can only be configured in the...

✨ enhancement

https://twitter.com/alexdotjs/status/1547883203863539712 **Updated** b/c of https://twitter.com/_thomasholland/status/1547975062728216576 ```tsx import { trpcLoader } from '~/utils/trpc'; import { LoaderArgs } from "@remix-run/node"; export const loader = (args: LoaderArgs) => trpcLoader(args)(async ({ trpc, params })...

πŸ’‘ ideas
next-major/maybe

Feel free to submit PRs with migrating all of the examples here to the new version: https://github.com/trpc/trpc/tree/next/examples/.interop 1. copy folder to `/examples` 2. update `package.json` and remove `-interop` in the...

πŸ“š documentation / examples
πŸ™‹β€β™‚οΈ help wanted
πŸ‘‰ good first issue
πŸ’Έ Get paid!
next-major/definite

Given 2 procedures, this is what tRPC currently returns: - 2x `NOT_FOUND` errors ==> `404` - 2x succeeds => `200` - 1x succeeds + 1x `NOT_FOUND` error => `207` I...

πŸ’¬ discussion

https://alpha.trpc.io/docs/migrate-from-v9-to-v10 Can be split into different parts The main chunks of this can be found [here](https://github.com/trpc/trpc/blob/next/.tmp/v10-docs.md#interopability-mode-for-old-routers--migration-path): 95% use-case: - [x] Transforming old API for backward-compatabiltiy - [ ] Add your...

πŸ“š documentation / examples
next-major/definite

### Discussed in https://github.com/trpc/trpc/discussions/1990 Originally posted by **dodas** June 14, 2022 I am trying to have multiple `TRPCRouter`s on backend and separate `TRPCClient`s to access them. Looking at [the way...

✨ enhancement

# Kitchen Sink - **Live Site:** https://kitchen-sink.trpc.io/ - **Source:** https://github.com/trpc/examples-kitchen-sink The goal of the Kitchen Sink is to provide a good collection of useful design patterns when working with tRPC....

πŸ“š documentation / examples
πŸ™‹β€β™‚οΈ help wanted
πŸ‘‰ good first issue
πŸ’Έ Get paid!

- `examples/*` doesn't have lockfiles right now as they're part of the monorepo - this might make the vercel deployment randomly fail if someone publishes a bad build of the...

πŸ™‹β€β™‚οΈ help wanted
πŸ’Έ Get paid!
😌 QoL