v1narth
v1narth
TtRPC
Created by v1narth on 8/29/2023 in #❓-help
Is there a way to use versioning for procedures?
I want to make multiple versions (v1 / v2) for a procedure, can i do it in procedure level?
5 replies
TtRPC
Created by v1narth on 8/7/2023 in #❓-help
Jest set cookie with caller
Im trying to test a protectedProcedure, which validates a cookie , if the cookie isnt present, it returns 401. Im using caller to call the endpoints inside jest tests, how i can set mock cookie for these tests?
5 replies
TtRPC
Created by v1narth on 7/4/2023 in #❓-help
tRPC + cls-hooked
Hi, im trying to implement cls-hooked library with trpc's protectedProcedure, but it doesnt seem to work. The value i set inside the usedoesnt exists afterwards. When im doing the same outside of the usefunction, it works as expected. Any idea what am i missing?
2 replies