Skip to content

Commit 2a41cd4

Browse files
committed
Directive name is not-null
1 parent 9737830 commit 2a41cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/type/introspection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export var __Schema = new GraphQLObjectType({
6060
var __Directive = new GraphQLObjectType({
6161
name: '__Directive',
6262
fields: () => ({
63-
name: { type: GraphQLString },
63+
name: { type: new GraphQLNonNull(GraphQLString) },
6464
description: { type: GraphQLString },
6565
args: {
6666
type:

0 commit comments

Comments
 (0)