jgoux
Private API, public clients
Hey everyone, we're about to OSS some good stuff at my company and I'm wondering what's the best approach to ship public libraries (like a CLI) which are communicating with a private tRPC powered API.
It seems like today, trpc-openapi would be my best option? Like generating an openapi spec and using a typesafe openapi client generated with this spec?
2 replies
tRPC and OpenTelemetry
Does anyone have experience with instrumenting tRPC with OTEL for tracing?
It would be pretty neat to have an auto-instrumentation package like Prisma did : https://www.npmjs.com/package/@prisma/instrumentation
8 replies
Am I the only one struggling with pnpm + TypeScript monorepo + trpc?
Hello all,
When using pnpm in a TypeScript monorepo without
node-linker
, I hit those errors:
Types sharing between packages when using pnpm + TypeScript is quite broken, and I'm not sure what's the best move to solve it. Ideally I shouldn't have to alter my compilerOptions.paths
, or install extra deps in the root. 😅
I opened a discussion about it here if you want to participate: https://github.com/orgs/pnpm/discussions/636724 replies