🇵🇸 Prince Toast
Explore posts from serversI can't mutate or query in SvelteKit
Environment: Node 20 with Yarn
I'm not getting any specific errors but I don't get the "mutate" or "query" methods with trpc client in SvelteKit. Here is the situation:
My API is written in Fastify. I'm using the Fastify adapter for tRPC. On the client, I get autocompletion for the routers (like user.createAccount or post.getAll) but I don't get the ability to mutate or query data.
2 replies