graphql 2.3.8 → 2.3.9
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/introspection/schema_type.rb +3 -18
- 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: aa940f82a3f79bd899de908905d6656c5a4b60b6174f70380ed42d3643992085
|
|
4
|
+
data.tar.gz: 3c20f6255693b62acc10cb4d9069c6433d7548a31f9ae2a8c4554f6d91646dc9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e92413d9e9a3e5fc507ef4522167aa2268f6c5645847f6c5f7b97bfad1a94cd043048d2a7a7cf7c3df6ff748e76266a63101c96c25bf0fd3601a1bd8f5e07311
|
|
7
|
+
data.tar.gz: 58ca270e89fa01dd0bac02cfd559250b2088979bd6a7a57c2c722196d1bf7e824c35f29b3d1e98ffe390157d2bebcedbc3e33cddec21cb55e0abe4644d3275dc
|
|
@@ -27,35 +27,20 @@ module GraphQL
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
def query_type
|
|
30
|
-
|
|
30
|
+
@context.types.query_root
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def mutation_type
|
|
34
|
-
|
|
34
|
+
@context.types.mutation_root
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
def subscription_type
|
|
38
|
-
|
|
38
|
+
@context.types.subscription_root
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
def directives
|
|
42
42
|
@context.types.directives
|
|
43
43
|
end
|
|
44
|
-
|
|
45
|
-
private
|
|
46
|
-
|
|
47
|
-
def permitted_root_type(op_type)
|
|
48
|
-
case op_type
|
|
49
|
-
when "query"
|
|
50
|
-
@context.types.query_root
|
|
51
|
-
when "mutation"
|
|
52
|
-
@context.types.mutation_root
|
|
53
|
-
when "subcription"
|
|
54
|
-
@context.types.subscription_root
|
|
55
|
-
else
|
|
56
|
-
nil
|
|
57
|
-
end
|
|
58
|
-
end
|
|
59
44
|
end
|
|
60
45
|
end
|
|
61
46
|
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: 2.3.
|
|
4
|
+
version: 2.3.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Mosolgo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-07-
|
|
11
|
+
date: 2024-07-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|