natef
natef
Explore posts from servers
TTCTheo's Typesafe Cult
Created by frenetic.ts on 4/16/2023 in #questions
Webhooks (localhost) in Clerk fails for the most part
So I'm currently in a planning stage and considering using Ngrok to expose my local server for webhook integration with Clerk. My reservation about this approach is that Ngrok's free tier generates a new random URL each time it restarts. This would mean that I'll have to manually update the webhook URL in Clerk's dashboard every time, which isn't very efficient. Additionally, I've read your concerns above about the reliability of tunneling services, making me a bit hesitant. -- You mention that "Localtunnel / Ngrok are both incredibly fragile" (granted I don't have extensive experience with these myself) Would you be able to suggest a more streamlined or stable approach? I'm open to corrections or alternative solutions.
14 replies
TTCTheo's Typesafe Cult
Created by frenetic.ts on 4/16/2023 in #questions
Webhooks (localhost) in Clerk fails for the most part
Is there any news on this potential integration for smoothing out the webhook experience with Clerk? I was hoping that localhost development, specifically with syncing Clerk data with my own backend, would be a little more streamlined.
14 replies
TTCTheo's Typesafe Cult
Created by natef on 12/9/2022 in #questions
Calling tRPC procedure from within another tRPC procedure?
cool thank you!
9 replies
TTCTheo's Typesafe Cult
Created by natef on 12/9/2022 in #questions
Calling tRPC procedure from within another tRPC procedure?
Yeee I understand that -- but everything is implicitly typesafe when going through trpc routers whereas I have to explicitly write out types when creating helper functions. This is just me being nitpicky, but I was wondering if there's an easy way to call procedures from within other procedures. If not I can make helper functions
9 replies
TTCTheo's Typesafe Cult
Created by natef on 12/9/2022 in #questions
Calling tRPC procedure from within another tRPC procedure?
Yeah I guess that would be possible. However, is nice to have all of the trpc context managed by default, rather than setting up a helper function that I need to pass session, prisma, etc. to while making sure everything is typesafe.
9 replies