graphql-batch 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/graphql/batch/loader.rb +4 -0
- data/lib/graphql/batch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bfa918397c9799aca7a3ac30e4031c7f57ad472c
|
4
|
+
data.tar.gz: 540ea8eba74692bdf2e10cf1561e9d26b1cff52b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ec623bdc6aa34b85246b338f2a61710f57e2d76b8a3c1b0f502848b2e89b8e54373958db073e48f52843dbdd95a10da07ef54767f50f1f86d9d51dae4ccd80f
|
7
|
+
data.tar.gz: 7f396d708a3a4d0fa96ce32db63d4788b442b0390b91baa97ab9972f02de39c8c0508ad91e64cd6fa964cb80e6268d6aeabb8d335b4e3ed95835e1f50f66a211
|
data/README.md
CHANGED
@@ -90,6 +90,7 @@ resolve -> (obj, args, context) do
|
|
90
90
|
results.reduce(&:+)
|
91
91
|
end
|
92
92
|
end
|
93
|
+
```
|
93
94
|
|
94
95
|
`.then` can optionally take two lambda arguments, the first of which is equivalent to passing a block to `.then`, and the second one handles exceptions. This can be used to provide a fallback
|
95
96
|
|
data/lib/graphql/batch/loader.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Thacker-Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|