cdodev
Explore posts from serversTTCTheo's Typesafe Cult
•Created by cdodev on 5/10/2023 in #questions
I need a bit of help understanding trpc
I've been in Haskell land too long I can't function without Monad and Applicative any more!
8 replies
TTCTheo's Typesafe Cult
•Created by cdodev on 5/10/2023 in #questions
I need a bit of help understanding trpc
Yeah I definitely want to avoid that - but I have to call the api that gives me that data on the server instead (chargebee doesn't seem to have realised that people might want to know these things at the same time).
It would make more sense to do this server side in one go I suppose.
But out of interest - how could I do this from the client?
8 replies
TTCTheo's Typesafe Cult
•Created by cdodev on 4/9/2023 in #questions
Github actions and .env
I've had a bit of a poke through the code now. It looks like I might be able to turn on
SKIP_ENV_VALIDATION
. That would leave me with only needing to know the subset of env vars actually needed for build time.
I guess DATABASE_URL
for prisma migrate in the post install would be one - any others I'd absolutely need?3 replies