We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At the moment the DeprecationsHaveAReason rule will use the line and column of the FieldDefinition node rather than the affected @directive node.
DeprecationsHaveAReason
line
column
FieldDefinition
@directive
This means if someone were to highlight the error it would lead to highlighting the wrong part of the line.
Example
Current:
11:3 The field `user.firstName` is deprecated but has no deprecation reason. firstName: String @deprecated ^^^^^^^^^
What we actually want:
11:21 The field `user.firstName` is deprecated but has no deprecation reason. firstName: String @deprecated ^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
00f92dc
No branches or pull requests
At the moment the
DeprecationsHaveAReason
rule will use theline
andcolumn
of theFieldDefinition
node rather than the affected@directive
node.This means if someone were to highlight the error it would lead to highlighting the wrong part of the line.
Example
Current:
What we actually want:
The text was updated successfully, but these errors were encountered: