graphql-docs 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql-docs/helpers.rb +7 -7
- data/lib/graphql-docs/version.rb +1 -1
- 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: 75636574c56be07c5a32dc282ccc84f3279699c1
|
4
|
+
data.tar.gz: b854dfae6ffb2e0a89bcb5fd05feb5d418a688fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57b81685fdc78ab8f79c15e4f4cfc56c19e15e981aafc1d3e0cc39e9570db3a0c508aa8699beee2c9aa4ef6fb54b17586c698b96e39f0282d5af582c7be42c7f
|
7
|
+
data.tar.gz: f09869bad79289c9df840bc98b770570b3ca46185682a08fbcc04c2e6bcdd5c495cb18bbc098eb8f49e8632210541e590924d178da30fbdc460a44e65bd0c3dd
|
data/lib/graphql-docs/helpers.rb
CHANGED
@@ -78,31 +78,31 @@ module GraphQLDocs
|
|
78
78
|
end
|
79
79
|
|
80
80
|
def graphql_mutation_types
|
81
|
-
@parsed_schema['mutation_types']
|
81
|
+
@parsed_schema['mutation_types'] || []
|
82
82
|
end
|
83
83
|
|
84
84
|
def graphql_object_types
|
85
|
-
@parsed_schema['object_types']
|
85
|
+
@parsed_schema['object_types'] || []
|
86
86
|
end
|
87
87
|
|
88
88
|
def graphql_interface_types
|
89
|
-
@parsed_schema['interface_types']
|
89
|
+
@parsed_schema['interface_types'] || []
|
90
90
|
end
|
91
91
|
|
92
92
|
def graphql_enum_types
|
93
|
-
@parsed_schema['enum_types']
|
93
|
+
@parsed_schema['enum_types'] || []
|
94
94
|
end
|
95
95
|
|
96
96
|
def graphql_union_types
|
97
|
-
@parsed_schema['union_types']
|
97
|
+
@parsed_schema['union_types'] || []
|
98
98
|
end
|
99
99
|
|
100
100
|
def graphql_input_object_types
|
101
|
-
@parsed_schema['input_object_types']
|
101
|
+
@parsed_schema['input_object_types'] || []
|
102
102
|
end
|
103
103
|
|
104
104
|
def graphql_scalar_types
|
105
|
-
@parsed_schema['scalar_types']
|
105
|
+
@parsed_schema['scalar_types'] || []
|
106
106
|
end
|
107
107
|
|
108
108
|
private
|
data/lib/graphql-docs/version.rb
CHANGED