Skip to content

Commit

Permalink
remove KnownTypeNamesRule to correct fragments imports
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuagagne committed Mar 8, 2020
1 parent f0724e8 commit 3d890e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/gatsby/src/query/query-compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const {
isAbstractType,
Kind,
FragmentsOnCompositeTypesRule,
KnownTypeNamesRule,
LoneAnonymousOperationRule,
PossibleFragmentSpreadsRule,
ScalarLeafsRule,
Expand Down Expand Up @@ -185,7 +184,6 @@ export const processQueries = ({

const preValidationRules = [
LoneAnonymousOperationRule,
KnownTypeNamesRule,
FragmentsOnCompositeTypesRule,
VariablesAreInputTypesRule,
ScalarLeafsRule,
Expand Down

0 comments on commit 3d890e3

Please sign in to comment.