Lu
Lu
TtRPC
Created by Lu on 11/19/2024 in #❓-help
Do I need a server to use tRPC?
Since we use RQ at work for our product - I thought might as well bring tRPC into it since it couples things very well. We dont do anything serverless on the frontend, so curious if I need to install an adapter to Vite and spin up a server?
2 replies
TtRPC
Created by Lu on 5/8/2024 in #❓-help
Mutation returning a long URL is being cut off
I have an authentication URL for an oauth2 provider that returns a long URL due to scopes being added. The server returns a cut-off version of it to the client. Not sure why.
1 replies
TtRPC
Created by Lu on 5/25/2023 in #❓-help
BullMQ + TRPC
Curious how to configure BullMQ with TRPC correctly. Currently I have the queue, queueevents, and the worker inside a router. Though it works, I have a feeling its not the right approach?
4 replies
TtRPC
Created by Lu on 4/10/2023 in #❓-help
Are TRPC server procedures actual endpoints? Meaning can you directly do a `post` request to them?
Lets say you have a public procedure called getHelloWorld, can you hit it by doing localhost:3000/trpc/baseRouter/getHelloWorld? or something
4 replies
TtRPC
Created by Lu on 4/5/2023 in #❓-help
Confused about createProxySSGHelpers
If you can use this helper inside of getServerSideProps without having ssr: true what is the difference when you do enable ssr and forward headers to the server from the client?
1 replies
TtRPC
Created by Lu on 4/5/2023 in #❓-help
How to check if data is being prefetched?
What is a method to check if ssg prefetching actually occurs? Through the network tab?
1 replies
TtRPC
Created by Lu on 3/15/2023 in #❓-help
How to ignore `input` validation and just pass in an object with interfaces?
For my input I just want to pass in an interface rather than using a Zod schema. Either that or if somebody can let me know how to pass in an external interface as a z.object() param
8 replies