lib/graphql/execution/execute.rb in graphql-1.8.0.pre10 vs lib/graphql/execution/execute.rb in graphql-1.8.0.pre11

- old
+ new

@@ -178,9 +178,15 @@ if field_type.kind.non_null? PROPAGATE_NULL else nil end + elsif value.is_a?(Array) && value.any? && value.all? {|v| v.is_a?(GraphQL::ExecutionError)} + if field_type.kind.non_null? + PROPAGATE_NULL + else + nil + end elsif value.is_a?(Skip) field_ctx.value = value else case field_type.kind when GraphQL::TypeKinds::SCALAR, GraphQL::TypeKinds::ENUM