On the side I'm setting up fumadocs (by @fuma_nama) by piping @colinhacks's @trpcio routers through `trpc/openapi` (alpha) to get well designed auto-generating docs.
Some rough edges but working well so far.
tRPC OpenAPI support isn't just about generating clients. You can use @oasdiff on your own API to check for breaking changes or generate changelogs too
Planning to drop an update to @trpcio OpenAPI support this weekend
Removing the type depth limit and adding support for cyclic types, which was an initial limitation of the alpha
Planning to drop an update to @trpcio OpenAPI support this weekend
Removing the type depth limit and adding support for cyclic types, which was an initial limitation of the alpha
Do submit issues and corrections! This is a near doubling of our documentation surface, only made possible by AI, and impossible to deeply critique as a whole.
It will very likely have problems to iron out
TRPC streaming improvement
New `streamHeader` option switches from the custom `trpc-accept` header to the standard `Accept` header for JSON lines (jsonl) streaming
Standard headers don't trigger CORS preflight, that means one less round-trip for cross-origin requests
this was a lot of fun to make
one of the reasons we keep out shipping everyone:
trpc
crazy how good it is, it feels like what graphql should have been in a way
Weβre proud to sponsor @trpcio by @alexdotjs β end-to-end typesafe APIs that let you move fast without breaking things β‘π‘οΈ
Zero dependencies, full TypeScript inference, no build step. Just pure DX magic.
Supported by #Mobb β fixing code so you donβt have to. #tRPC#TypeScript#FullStack#OpenSource#AIDeveloper#VibeCoding
Part 2 of the @trpcio and @tan_stack Query and Start series is up. We're doing tRPC mutations! As well as authentication with @clerk, and checking out their awesome new Agent Toolkit! So lots of good AI in there too! youtu.be/uE4devDh2rU