𝚜𝚗𝚘𝚘𝚣𝚎
𝚜𝚗𝚘𝚘𝚣𝚎
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 10/28/2024 in #❓-help
Blob as response
alright, thanks a lot for your help, indeed this would be nice, beside this, being able to use server actions in such manner would be great too. Like trpc.users.blockuser.useMutation where blockuser is a server actions
11 replies
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 10/28/2024 in #❓-help
Blob as response
No description
11 replies
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 10/28/2024 in #❓-help
Blob as response
I will send a screenshot on how I made it work via server actions a bit later
11 replies
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 6/3/2024 in #❓-help
Next 14 app router
Hm, by just checking the code, i'm assuming this has to do with next-auth but still not sure. can you try the createPost func as a publicProcedure instead ? If that doesnt work make your env variables public just to see if thats the case to proceed with a solution.
22 replies
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 6/3/2024 in #❓-help
Next 14 app router
Can you show me some code ?
22 replies
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 6/3/2024 in #❓-help
Next 14 app router
what kind of env var are you trting to access from client
22 replies
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 6/3/2024 in #❓-help
Next 14 app router
22 replies
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 6/3/2024 in #❓-help
Next 14 app router
@Rohit Verma Look out the t3gg setup, i'm happy with that
22 replies
TtRPC
Created by 𝚜𝚗𝚘𝚘𝚣𝚎 on 6/3/2024 in #❓-help
Next 14 app router
Sorry, missed your reply, I had to start using it becuase I didn't want to use route handlers. However, I made a solution for it for now, looked up how t3.gg does it and added some parts of my own.
22 replies