Anyway I'm just having a better read of your code. What are you actually trying to achieve? mutations and queries all have their keys baked in by tRPC, so you don't need to set them
Ah I've talked all kinds of confused things in this thread, sorry for that. Just seen your discussion link was react-query so it's definitely still valid
mutationKey seems to not work in useMutation - tRPC