AndrewA
tRPC2y ago
3 replies
Andrew

Find Usages of a procedure do not show client calls.

If I define a procedure:

const appRouter = router({
  list: publicProcedure.query(...)
})


and then use it in the client:

const res = await client.list.query()


these usages don't show up with Find usages functionality for VS Code, and only inconsistently for WebStorm.

How do people find the places where they're calling their endpoints in their client code? Are people just doing raw text searches?
Was this page helpful?