graphql-rails-api 0.9.8 → 0.9.81
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/hydrate_query.rb +4 -0
- data/lib/graphql/rails/api/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: 8e25a943a7609957c2c0123c9efcb11a27b3e64f9aa37aac30d56f82708701e0
|
|
4
|
+
data.tar.gz: 72659ad6d0ff3153c06e05a2c21372e5c5d35638080ebfa3fd4a593f0648da9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 969746c3f12d8af1f56f3b7128cfb9159b7ca7dd8bad48d0087251559e81ca744b3f2f2d86c945cd6e51acf6be70b457a2f872dcc0a080629d2241509a32faa5
|
|
7
|
+
data.tar.gz: b300ba36e35a32764551722d6d85d790a6242c528edbae0d54272f3857a557354b2c3ca3faa4127ff783626e9f2792f0d5c106f95581d7a894bcc8d35e18854e
|
|
@@ -451,6 +451,10 @@ module Graphql
|
|
|
451
451
|
end
|
|
452
452
|
|
|
453
453
|
def irep_node(name, paginated: false)
|
|
454
|
+
until @context.query.lookahead.ast_nodes.first.children[@context[:query_index]].is_a?(GraphQL::Language::Nodes::Field)
|
|
455
|
+
@context[:query_index] += 1
|
|
456
|
+
end
|
|
457
|
+
|
|
454
458
|
children = @context.query.lookahead.ast_nodes.first.children[@context[:query_index]].children
|
|
455
459
|
result = if paginated
|
|
456
460
|
children.find { |n| n.name == "data" }.children
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphql-rails-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.81
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- poilon
|
|
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
111
111
|
- !ruby/object:Gem::Version
|
|
112
112
|
version: '0'
|
|
113
113
|
requirements: []
|
|
114
|
-
rubygems_version: 3.
|
|
114
|
+
rubygems_version: 3.3.7
|
|
115
115
|
signing_key:
|
|
116
116
|
specification_version: 4
|
|
117
117
|
summary: Graphql rails api framework to create easily graphql api with rails
|