Skip to content

Commit

Permalink
Merge branch 'master' of github.com:graphql/graphql-js
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Jul 2, 2015
2 parents 862209d + c2fe3a1 commit 432b356
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/__tests__/starWarsSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ var droidType = new GraphQLObjectType({
type: new GraphQLList(characterInterface),
description: 'The friends of the droid, or an empty list if they ' +
'have none.',
resolve: (human) => getFriends(human),
resolve: (droid) => getFriends(droid),
},
appearsIn: {
type: new GraphQLList(episodeEnum),
Expand Down
20 changes: 10 additions & 10 deletions src/validator/allRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down

0 comments on commit 432b356

Please sign in to comment.