Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
robrichard committed Jan 2, 2020
1 parent dd344e8 commit 835ae90
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/execution/execute.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,6 @@ function executeOperation(

exeContext.dispatcher.add(
label,
// TODO: `path` is initially "undefined", which essentially means "root",
// investigate if "undefined" is a valid path value.
path,
() =>
executeFields(
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export {
GraphQLIncludeDirective,
GraphQLSkipDirective,
GraphQLDeferDirective,
GraphQLStreamDirective,
GraphQLDeprecatedDirective,
// "Enum" of Type Kinds
TypeKind,
Expand Down
1 change: 0 additions & 1 deletion src/type/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ export const GraphQLDeferDirective = new GraphQLDirective({
label: {
type: GraphQLNonNull(GraphQLString),
description: 'Unique name',
// TODO: Add defaultValue for label?
},
},
});
Expand Down
2 changes: 1 addition & 1 deletion src/type/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import {
import { __Schema } from './introspection';
import {
GraphQLDirective,
GraphQLStreamDirective,
GraphQLDeferDirective,
GraphQLStreamDirective,
isDirective,
specifiedDirectives,
} from './directives';
Expand Down

0 comments on commit 835ae90

Please sign in to comment.