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
e.message =="OneOf type field 'oneOfInputObject.a' must be non-null."
539
+
540
+
where:
541
+
// from https://github.com/graphql/graphql-spec/pull/825/files#diff-30a69c5a5eded8e1aea52e53dad1181e6ec8f549ca2c50570b035153e2de1c43R1692
542
+
testCase | inputValue | variables
543
+
544
+
'`{ a: null }` {}' | buildObjectLiteral([
545
+
a: NullValue.of()
546
+
]) | CoercedVariables.emptyVariables()
547
+
548
+
'`{ a: $var }` { var : null}' | buildObjectLiteral([
549
+
a: VariableReference.of("var")
550
+
]) | CoercedVariables.of(["var": null])
551
+
552
+
}
553
+
505
554
def"getVariableValues: enum as variable input"() {
506
555
given:
507
556
def enumDef = newEnum()
@@ -839,4 +888,4 @@ class ValuesResolverTest extends Specification {
839
888
executionResult.errors[0].message =="Variable 'input' has an invalid value: Expected a value that can be converted to type 'Float' but it was a 'String'"
0 commit comments