where is useQuery [key]?

DDevThoughts4/20/2023
Learning trpc, i use to tanstack with queryKey, can not find how that works with trpc, if i want to revalidate my query?
const query = useQuery({ queryKey: ['todos'], queryFn: getTodos })
Nnlucas4/20/2023
Nnlucas4/20/2023
We have a dedicated integration, which also has the ability to get query keys if you need (but we do it for you)
DDevThoughts4/20/2023
Yes, i have been reading the docs.
How do i invalidateQueries when i use useMutation? i don't know my queryKey name? Thank you.