tRPCttRPC
Powered by
xdxd#5555 / hanyaX
tRPC•3y 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?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Help with queries vs mutations
CliffCCliff / ❓-help
3y ago
How do I get the queries and mutations list in v10?
LeeLLee / ❓-help
3y ago