pothos
pothos copied to clipboard
Embed Type definition location into the GQL field somehow so we can look it up later to find where a given type was first defined
Sorry if this is not clear, or already supported, but the goal here is to support the locateCommand option from Relay's (and GraphQL) LSP:
https://www.npmjs.com/package/graphql-language-service-server
https://x.com/captbaritone/status/1748020699263045659
I need a way to, given a specific Type.field, locate the first time it was defined with pothos.
This would allow Go To Definition to jump to the TS source code itself, instead of the GQL schema.