graphql 1.12.7 → 1.12.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/execution/errors.rb +4 -4
- data/lib/graphql/subscriptions/serialize.rb +3 -0
- data/lib/graphql/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10ea46e2edf136b445de343ee1a58dd98b0a6c5800ef31923d7d184198ed58fd
|
4
|
+
data.tar.gz: f2f6dff0bf020bfef04769deb3fd548317121f0e636d7a47a94baea862f341ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a79fde55cedcd391b7dfe7c141e22c51563aeefceb0fda494dd50f4281fefb0104f8663e688395268c95361ee10e01c7bfb69250368441ec8b8c9ad0d00ac279
|
7
|
+
data.tar.gz: 49a7b0f5cdf9d3a64ff05b0898c7ef93c6cdfd210baf93affa25afe3f3d7b59187fe3e7727f467af9411a085c5f6e8e281fafd27352fe97128f98bd82ffde330
|
@@ -115,7 +115,7 @@ module GraphQL
|
|
115
115
|
if obj.is_a?(GraphQL::Schema::Object)
|
116
116
|
obj = obj.object
|
117
117
|
end
|
118
|
-
handler.call(err, obj, args, ctx, field)
|
118
|
+
handler[:handler].call(err, obj, args, ctx, field)
|
119
119
|
else
|
120
120
|
raise err
|
121
121
|
end
|
@@ -148,11 +148,11 @@ module GraphQL
|
|
148
148
|
# If there's an inherited one, but not one defined here, use the inherited one.
|
149
149
|
# Otherwise, there's no handler for this error, return `nil`.
|
150
150
|
if parent_handler && handler && parent_handler[:class] < handler[:class]
|
151
|
-
parent_handler
|
151
|
+
parent_handler
|
152
152
|
elsif handler
|
153
|
-
handler
|
153
|
+
handler
|
154
154
|
elsif parent_handler
|
155
|
-
parent_handler
|
155
|
+
parent_handler
|
156
156
|
else
|
157
157
|
nil
|
158
158
|
end
|
data/lib/graphql/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|