graphql-client 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/graphql/client/query_result.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32e25d63794a17ec0401f12b949c162df94878a0
|
|
4
|
+
data.tar.gz: 1fc7e65ea7f2b08624ccd63f49d59699c13f305e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e065f8070d5f06ff6f5b981b1193535b64e3d34e643b760b8f2dd8035edb8c1d191432683dac497326dc90baee7807a4cf83dcdb7c31bf28d85479f9ef9e0d30
|
|
7
|
+
data.tar.gz: a1cafc638b18db1b9d5439351861ede60dd697b7ce2083060c253292a08a2197f49cae84f93f1adfb781e4cbcdb9993c0a4f15b8a7a9338c93e2a9c35066d9ce
|
|
@@ -108,6 +108,8 @@ module GraphQL
|
|
|
108
108
|
List.new(value.each_with_index.map { |e, idx|
|
|
109
109
|
@of_klass.cast(e, errors.filter_by_path(idx))
|
|
110
110
|
}, errors)
|
|
111
|
+
when NilClass
|
|
112
|
+
nil
|
|
111
113
|
else
|
|
112
114
|
raise ArgumentError, "expected list value to be an Array, but was #{value.class}"
|
|
113
115
|
end
|