You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -64,21 +61,19 @@ class NoErrorPropagationTest extends Specification {
64
61
er.errors[0].message =="The field at path '/foo' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on. The non-nullable type is 'Int' within parent type 'Query'"
65
62
er.errors[0].path.toList() == ["foo"]
66
63
}
67
-
68
-
69
-
def"when ENABLE_NULL_ON_ERROR is false, error is propagated"() {
64
+
65
+
def"when @experimental_disableErrorPropagation is not added to the schema operation does not validate"() {
70
66
71
67
def sdl ='''
72
68
type Query {
73
69
foo : Int!
74
70
}
75
-
directive @nullOnError on QUERY | MUTATION | SUBSCRIPTION
0 commit comments