Nacho Elias
Nacho Elias
Explore posts from servers
TtRPC
Created by Alex_A on 6/18/2024 in #❓-help
File upload with formdata
I couldnt make it work either, my solution was to (exceptionally) do everything in a server action. This allowed me to send a formData object to the action that runs in my server and then use trpc server from within the action to uipdate the entity's URL (I'm assuming u'll need to store the url somewhere afterwards). Hope this helps
5 replies
DTDrizzle Team
Created by Tera on 6/18/2024 in #help
could someone show me the way to do this query using drizzle
can u show us some code?
2 replies
DTDrizzle Team
Created by Nacho Elias on 6/13/2024 in #help
Error in DB update because of Date
nevermind, my issue was related to the onUpdateFn in my schema
2 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
thank u!
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
already made it work and is more than enough
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
anyway, thanks again 🫶
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
I feel dumb as hell
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
sorry for the questions
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
nice
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
found the issue => (if you're using tRPC v10, install the @next version)
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
btw, I tried using the dev tools u have mentioned in your docs but they don't work very well. Are there any plans to have RQ dev tools for trpc? Or maybe even using the exact same ones as RQ does? If I'd known that the data was being persisted in that queryClient I think I might have caught the problem sooner
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
Thank u so much, in any case I still will continue to use trpc's context for type safety
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
Done, found my error, it was the nested array
const dataA = qc.getQueryData(["user", "getUsers"]); => doesn't work
const dataB = qc.getQueryData([["user", "getUsers"]]); => works
const dataA = qc.getQueryData(["user", "getUsers"]); => doesn't work
const dataB = qc.getQueryData([["user", "getUsers"]]); => works
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
I'll try real quick and be back
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
hahaha
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
I wonder where I f*cked it up then
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
hmmm
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
thanks for the quick response in any case
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
I'll try real quick
71 replies
TtRPC
Created by Nacho Elias on 10/17/2022 in #❓-help
useQueryClient is not working as expected
hmmm I defintely was not awaiting for the changes, maybe that's where I went wrong
71 replies