spec/graphql/execution/lazy_spec.rb in graphql-1.6.8 vs spec/graphql/execution/lazy_spec.rb in graphql-1.7.0

- old
+ new

@@ -68,11 +68,11 @@ } assert_equal expected_data, res["data"] end - it "propagates nulls" do + it "propagates nulls to the root" do res = run_query %| { nestedSum(value: 1) { value nestedSum(value: 2) { @@ -83,17 +83,18 @@ } }| assert_equal(nil, res["data"]) assert_equal 1, res["errors"].length + end - + it "propagates partial nulls" do res = run_query %| { nullableNestedSum(value: 1) { value nullableNestedSum(value: 2) { - nestedSum(value: 13) { + ns: nestedSum(value: 13) { value } } } }|