From b59e28809abdc29e33091ed8a0c4de734c0f785f Mon Sep 17 00:00:00 2001 From: Henry Zhu Date: Thu, 2 Jul 2015 09:23:04 -0400 Subject: [PATCH] fill in Todo Spec Sections --- src/validator/allRules.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/validator/allRules.js b/src/validator/allRules.js index 96be95c152..8026d64e3d 100644 --- a/src/validator/allRules.js +++ b/src/validator/allRules.js @@ -22,27 +22,27 @@ import FieldsOnCorrectType from './rules/FieldsOnCorrectType'; import KnownFragmentNames from './rules/KnownFragmentNames'; // Spec Section: "Fragments must be used" import NoUnusedFragments from './rules/NoUnusedFragments'; -// Spec Section "Fragment spread is possible" +// Spec Section: "Fragment spread is possible" import PossibleFragmentSpreads from './rules/PossibleFragmentSpreads'; -// Spec Section "Fragments must not form cycles" +// Spec Section: "Fragments must not form cycles" import NoFragmentCycles from './rules/NoFragmentCycles'; -// Spec Section "All Variables Used" +// Spec Section: "All Variables Used" import NoUnusedVariables from './rules/NoUnusedVariables'; -// Spec Section "All Variable Used Defined" +// Spec Section: "All Variable Used Defined" import NoUndefinedVariables from './rules/NoUndefinedVariables'; // Spec Section: "Argument Names" import KnownArgumentNames from './rules/KnownArgumentNames'; -// TODO +// Spec Section: "Directives Are Defined" import KnownDirectives from './rules/KnownDirectives'; -// Spec Section "Argument Values Type Correctness" +// Spec Section: "Argument Values Type Correctness" import ArgumentsOfCorrectType from './rules/ArgumentsOfCorrectType'; -// TODO +// Spec Section: "Directive Arguments Are Of Correct Type" import DirectivesOfCorrectType from './rules/DirectivesOfCorrectType'; -// Spec Section "Variable Default Values Are Correctly Typed" +// Spec Section: "Variable Default Values Are Correctly Typed" import DefaultValuesOfCorrectType from './rules/DefaultValuesOfCorrectType'; -// Spec Section "All Variable Usages Are Allowed" +// Spec Section: "All Variable Usages Are Allowed" import VariablesInAllowedPosition from './rules/VariablesInAllowedPosition'; -// TODO +// Spec Section: "Field Selection Merging" import OverlappingFieldsCanBeMerged from './rules/OverlappingFieldsCanBeMerged'; /**