xdxd#5555 / hanyaX
tRPC3y ago
4 replies
xdxd#5555 / hanya

Queries work but mutations do not

Odd bug I'm experiencing with TRPC + react-query + the koa adapter. I just set everything up per docs. I tried out a test query and a test mutation, both with very simple input validated by Zod. The query hits the backend route but the mutation never does - even if I change the inputs, etc. Does anyone have any idea where to look for the culprit here?
Was this page helpful?