required-fields
rule to handle inline fragments without field ancestors. PR #240 by Henry Q. Dineengraphql/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 #237graphql-tools
to v4.0.4
. PR #210eslint
to v5.12.1
. PR #206graphql
to v14.1.1
. PR #208graphql/required-fields
to throw on non-existent field references. PR #203 by Matt Bretlrequired-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
#192required-fields
rule in #140 by Steve Hollaarfraql
environment.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/]graphql-js@^0.12.0
and graphql-js@^0.13.0
in Jon Wong#119engines
to >= 6.0 in #133 by Jon Wongno-deprecated-fields
in Kristján Oddsson#92babel-eslint
and pinned graphql-config
in #101 by Jon WongSkipped v1.4.0 because of incorrect version tag in package.json
graphql-js
to peerDependencies
, support graphql@^0.11.0
in Jon Wong#91graphql/capitalized-type-name
rule to warn on uncapitalized type names DianaSuvorova in #81graphql-js
to v0.10.1
in #67 Sashko StubailoKnownFragmentNames
and UnusedFragment
from default rules in literal
env. Justin Schulz in #70graphql
dependency to resolve test failures (wording change, no API change) jnwngbabel-polyfill
from runtime dependencies, since it was only being used in test code. joelgriffith in #44'literal'
option to env
for when working with .graphql
and .gql
files, by jtmthf in #36