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 44import graphql .language .BooleanValue ;
55import graphql .language .Description ;
66import graphql .language .DirectiveDefinition ;
7- import graphql .language .EnumValue ;
87import graphql .language .StringValue ;
98import graphql .schema .GraphQLDirective ;
10- import graphql .schema .GraphQLEnumType ;
119
1210import static graphql .Scalars .GraphQLBoolean ;
1311import static graphql .Scalars .GraphQLString ;
@@ -146,7 +144,7 @@ public class Directives {
146144 .directiveLocation (newDirectiveLocation ().name (QUERY .name ()).build ())
147145 .directiveLocation (newDirectiveLocation ().name (MUTATION .name ()).build ())
148146 .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" ))
150148 .build ();
151149 }
152150
@@ -244,7 +242,7 @@ public class Directives {
244242 @ ExperimentalApi
245243 public static final GraphQLDirective NullOnErrorDirective = GraphQLDirective .newDirective ()
246244 .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." )
248246 .validLocations (QUERY , MUTATION , SUBSCRIPTION )
249247 .definition (NULL_ON_ERROR_DIRECTIVE_DEFINITION )
250248 .build ();
You can’t perform that action at this time.
0 commit comments