File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 4
4
import graphql .language .BooleanValue ;
5
5
import graphql .language .Description ;
6
6
import graphql .language .DirectiveDefinition ;
7
- import graphql .language .EnumValue ;
8
7
import graphql .language .StringValue ;
9
8
import graphql .schema .GraphQLDirective ;
10
- import graphql .schema .GraphQLEnumType ;
11
9
12
10
import static graphql .Scalars .GraphQLBoolean ;
13
11
import static graphql .Scalars .GraphQLString ;
@@ -146,7 +144,7 @@ public class Directives {
146
144
.directiveLocation (newDirectiveLocation ().name (QUERY .name ()).build ())
147
145
.directiveLocation (newDirectiveLocation ().name (MUTATION .name ()).build ())
148
146
.directiveLocation (newDirectiveLocation ().name (SUBSCRIPTION .name ()).build ())
149
- .description (createDescription ("This directive allows returning null in non-null locations that have an associated error" ))
147
+ .description (createDescription ("This directive allows returning null in non-null positions that have an associated error" ))
150
148
.build ();
151
149
}
152
150
@@ -244,7 +242,7 @@ public class Directives {
244
242
@ ExperimentalApi
245
243
public static final GraphQLDirective NullOnErrorDirective = GraphQLDirective .newDirective ()
246
244
.name (NULL_ON_ERROR )
247
- .description ("This directive allows returning null in non-null locations that have an associated error." )
245
+ .description ("This directive allows returning null in non-null positions that have an associated error." )
248
246
.validLocations (QUERY , MUTATION , SUBSCRIPTION )
249
247
.definition (NULL_ON_ERROR_DIRECTIVE_DEFINITION )
250
248
.build ();
You can’t perform that action at this time.
0 commit comments