Allow go to definition to work for paths (trpc style) #1462
Labels
enhancement
New feature or request
openapi-fetch
Relevant to the openapi-fetch library
PRs welcome
PRs are welcome to solve this issue!
Description
When calling APIs it is frequently extremely useful to be able to see its definition in the typing file, what are the params, body, etc.
Today navigating from call site to where the paths is defined is not easy.
it would be great if I can right click on
/chat.postMessage
and selectgo to definition
in vscode and be taken to where it is defined.Proposal
TRPC uses a proxy approach to enable any property access at run time.
Checklist
The text was updated successfully, but these errors were encountered: