graphql 1.12.22 → 1.12.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/analysis/ast/field_usage.rb +6 -2
- 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: 9e95b4e227ec93bce92db8d50253b83fdd8f310e7a41fca40db6df9e95b6d96a
|
4
|
+
data.tar.gz: b97ac815e644d1c2e7b8b8ea43c28f9a9247ad8d9cec5e90145ffc98ad2987a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64dc815853f24b6c6be56e24ed2058696f4e37479d48aba44b6da7d280c80e6d44af07d9002295b4d1f2d1082ec07a3513a2d5440d7682178ebb46fdaad01c84
|
7
|
+
data.tar.gz: 65672dab093d67208b1826000f9c3a7bc8125b085c72b8056820894a2c9f7d79ac4f3fd4b2aa519e944bbeb741bf9060b1c730f32a20ef1d1278c7b70ec56ece
|
@@ -15,8 +15,12 @@ module GraphQL
|
|
15
15
|
field = "#{visitor.parent_type_definition.graphql_name}.#{field_defn.graphql_name}"
|
16
16
|
@used_fields << field
|
17
17
|
@used_deprecated_fields << field if field_defn.deprecation_reason
|
18
|
-
|
19
|
-
|
18
|
+
arguments = visitor.query.arguments_for(node, visitor.field_definition)
|
19
|
+
# If there was an error when preparing this argument object,
|
20
|
+
# then this might be an error or something:
|
21
|
+
if arguments.respond_to?(:argument_values)
|
22
|
+
extract_deprecated_arguments(arguments.argument_values)
|
23
|
+
end
|
20
24
|
end
|
21
25
|
|
22
26
|
def result
|
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.23
|
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-12-
|
11
|
+
date: 2021-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|