You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you ever consider having a TypeName/StringValue AST node? This would help some tooling be more precise when it comes to the location of a certain node.
Currently working on a linter and noticed I can only reference the position of a type definition and it would be quite useful to get the location of a TypeName/StringValue node 👇
error: my_type should be PascalCase
type my_type {
^^^^^^^
a: String!
}
Happy to contribute something if you see value in it. Looks like the Text trait / NameMatch token could potentially have a Pos?
Would you ever consider having a TypeName/StringValue AST node? This would help some tooling be more precise when it comes to the location of a certain node.
Currently working on a linter and noticed I can only reference the position of a type definition and it would be quite useful to get the location of a TypeName/StringValue node 👇
Happy to contribute something if you see value in it. Looks like the Text trait / NameMatch token could potentially have a
Pos
?Example from GraphQL-JS (https://github.com/graphql/graphql-js/blob/master/src/language/ast.js#L238-L242)
The text was updated successfully, but these errors were encountered: