eslint-plugin-graphql
Advanced tools
Changelog
v4.0.0
devDependencies
- upgrades the project to use Babel 7 and ESLint 6. PR #271 by Scott Taylor.Changelog
v3.1.1
required-fields
rule to handle inline fragments without field ancestors. PR #240 by Henry Q. DineenChangelog
v3.1.0
graphql/required-fields
to throw on non-existent field references. PR #231 by Vitor Baloccographql-tools
to v4.0.5
. PR #239eslint
to v5.16.0
. PR #218graphql
to v14.4.2
. PR #220test-all-versions
to v4.1.1
. PR #230lodash
to v4.17.13
. PR #234mocha
to v6
. PR #213prettier
on all files PR #237Changelog
v3.0.2
graphql/required-fields
to throw on non-existent field references. PR #203 by Matt BretlChangelog
v3.0.0
required-fields
rule has been significantly changed to make it a completely reliable method of ensuring an id
field (or any other field name) is always requested when available. PR #199 Here is the behavior, let's say we are requiring field id
:
id
, the selection set must directly contain id
.id
, the selection set must directly contain id
.id
must contain id
in its selection set unless its parent is also an inline fragment that contains the field id
.query { greetings { hello ... on Greetings { id } } }
query { greetings { id hello ... on Greetings { id } } }
graphql@^14.0.0
that renamed ProvidedNonNullArguments
to ProvidedRequiredArguments
#192Changelog
v2.1.1
required-fields
rule in #140 by Steve Hollaarfraql
environmentChangelog
v2.1.0
.graphqlconfig
relative to the file being linted, which re-enables support for vscode-eslint
using .graphqlconfig
in #108 by [Jon Wong][https://github.com/jnwng/]