We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b66c6e commit 8f012efCopy full SHA for 8f012ef
src/main/java/graphql/Enums.java
@@ -11,7 +11,7 @@
11
public class Enums {
12
static final String ON_ERROR = "OnError";
13
public static final String ON_ERROR_PROPAGATE = "PROPAGATE";
14
- static final String ON_ERROR_NULL = "NULL";
+ static final String ON_ERROR_NULL = "ALLOW_NULL";
15
16
@ExperimentalApi
17
public static final EnumTypeDefinition ON_ERROR_TYPE_DEFINITION;
src/test/groovy/graphql/execution/NoErrorPropagationTest.groovy
@@ -23,7 +23,7 @@ class NoErrorPropagationTest extends Specification {
23
def graphql = GraphQL.newGraphQL(schema).build()
24
25
def query = '''
26
- query GetFoo @errorHandling(onError: NULL) { foo }
+ query GetFoo @errorHandling(onError: ALLOW_NULL) { foo }
27
'''
28
when:
29
0 commit comments