Skip to content

Commit 8f012ef

Browse files
committed
NULL -> ALLOW_NULL
1 parent 1b66c6e commit 8f012ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/graphql/Enums.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public class Enums {
1212
static final String ON_ERROR = "OnError";
1313
public static final String ON_ERROR_PROPAGATE = "PROPAGATE";
14-
static final String ON_ERROR_NULL = "NULL";
14+
static final String ON_ERROR_NULL = "ALLOW_NULL";
1515

1616
@ExperimentalApi
1717
public static final EnumTypeDefinition ON_ERROR_TYPE_DEFINITION;

src/test/groovy/graphql/execution/NoErrorPropagationTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class NoErrorPropagationTest extends Specification {
2323
def graphql = GraphQL.newGraphQL(schema).build()
2424

2525
def query = '''
26-
query GetFoo @errorHandling(onError: NULL) { foo }
26+
query GetFoo @errorHandling(onError: ALLOW_NULL) { foo }
2727
'''
2828
when:
2929

0 commit comments

Comments
 (0)