-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
Hello! GraphQL documents are very commonly extracted from other source code, most notably (but not limited to) TS/JS for web client projects.
In order to provide accurate diagnostic locations, it would be a nice addition to be able to specify an initial linecol offset when parsing a document. Currently this can be accomplished in userland by padding the source with newlines and spaces before parsing, and I suspect the internal implementation would look similar.
Would you be open to a PR that introduces this functionality? Thanks for considering!
Reactions are currently unavailable