You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createTeamMutation which is completely different RPC, actually invokes updateUserMutation backend and returns user result instead of team result.
I tried renaming createTeamMutation name to something else in hope it will trigger a recompile, and it worked, but just for a short time, then everything start bugging again. This behavior is reproducible in local dev and in production .
How its even possible that updateUserMutation returns a result without backend being called?
Il check, it's part of larger application...
If it helps I managed to mitigate the bug by adding clearNuxtData() before both method calls on the client.
Does it ring a bell?
I just met the craziest issue I have seen and it all points to tRPC Nuxt. (trpc-nuxt: 0.10.21)
Im posting here in hope to understand what happen. Everything started happening after upgrade of the Nuxt and some other dependencies.
I have two onboarding components Step1.vue and Step2.vue
Step1.vue calls:
This method returns valid result on client site, but backend is actually never called!
Then:
Step2.vue calls:
createTeamMutation which is completely different RPC, actually invokes updateUserMutation backend and returns user result instead of team result.
I tried renaming createTeamMutation name to something else in hope it will trigger a recompile, and it worked, but just for a short time, then everything start bugging again. This behavior is reproducible in local dev and in production .
I have upgraded to 0.10.22, and issue gone away only for initial RPC calls, after that, every next call brings the issue back.
Please help me understand what is going on.
The text was updated successfully, but these errors were encountered: