Hacker News new | ask | show | jobs
by yieldcrv 1042 days ago
our problem with tRPC is that we don't have an easy to way to test the endpoint in say, curl or postman.

there is a “REST Wrapper” project out there, but learning that was even needed was … fun

I don't mind it, we found other ways to test

Out of curiosity, how do you add a memcache to tRPC if you dont want to write directly to the prisma database

2 comments

I use trpc playground. It takes a few lines to setup.
There are libs like ts-rest which I found to be less magical and easier to test.