zirkelc
TRPCError: Unsupported GET-request to mutation procedure at path
Hi,
since I upgraded to TRPC v11 and React Query v5 with the classic integration, I suddenly get lots of errors like these:
TRPCError: Unsupported GET-request to mutation procedure at path "app.trackMetric"
The API URL is public, so it could well be just a coincidence that some crawlers fetch the URL, it's just strange that it happened just at that moment. Has someone else a similar issue?1 replies
TypeScript Alias Imports don't get resolved ont the Client
I have a Monorepo with a multiple
/packages/*
packages, each has its own tsconfig.json
. I noticed that I get type errors on the client
side if I use TypeScript alias path imports on the server
package. The alias import paths for the server are only defined in the server/tsconfig.json
and not in the client/tsconfig.json
.
If I change the alias imports on the server side to relative imports, it works on the client. It seems like TypeScript cannot follow the imports correctly from client to server, because it doesn't check the server tsconfig.
Anyone the same issue?12 replies