graphiti_graphql 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti_graphql/engine.rb +0 -2
- data/lib/graphiti_graphql/schema.rb +3 -3
- data/lib/graphiti_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: 2bd5442b050cb69b0ee1d2bc601f6bba2aa6f891d87f0d30168f70979881e779
|
4
|
+
data.tar.gz: 2135585438d5c17da4a74f3e35110e6030a2ba52229118490eb4d10d941fa326
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31419e16ea7745753d88fdb633d4f71d7c57d0bd4bc04a205df835d49cb0fb61412c7287ff53e992bf4f47cc50af1e8869fd525ee478a65dad8623c98513951c
|
7
|
+
data.tar.gz: 3415e4aab9e14a5c31338dc052f1e5487c4ee377e5def3fbccf49e60e3a33de8eca819d0b6f003c44e5d93c7b4a264f6e6ccae63249948ab09fbe94519e6a9b6
|
@@ -64,7 +64,6 @@ module GraphitiGraphQL
|
|
64
64
|
end
|
65
65
|
|
66
66
|
initializer "graphiti_graphql.define_controller" do
|
67
|
-
GraphitiGraphQL::Engine.reloader_class.to_prepare do
|
68
67
|
app_controller = GraphitiGraphQL.config.federation_application_controller || ::ApplicationController
|
69
68
|
# rubocop:disable Lint/ConstantDefinitionInBlock(Standard)
|
70
69
|
class GraphitiGraphQL::ExecutionController < app_controller
|
@@ -74,7 +73,6 @@ module GraphitiGraphQL
|
|
74
73
|
render json: Graphiti.gql(params[:query], params[:variables])
|
75
74
|
end
|
76
75
|
end
|
77
|
-
end
|
78
76
|
end
|
79
77
|
|
80
78
|
initializer "graphiti_graphql.federation" do
|
@@ -505,7 +505,7 @@ module GraphitiGraphQL
|
|
505
505
|
end
|
506
506
|
|
507
507
|
class PageType < GraphQL::Schema::InputObject
|
508
|
-
graphql_name "
|
508
|
+
graphql_name "PageInput"
|
509
509
|
argument :size, Int, required: false
|
510
510
|
argument :number, Int, required: false
|
511
511
|
argument :after, String, required: false
|
@@ -516,8 +516,8 @@ module GraphitiGraphQL
|
|
516
516
|
graphql_name "PageInfo"
|
517
517
|
field :has_next_page, Boolean, null: false
|
518
518
|
field :has_previous_page, Boolean, null: false
|
519
|
-
field :start_cursor, String, null:
|
520
|
-
field :end_cursor, String, null:
|
519
|
+
field :start_cursor, String, null: true
|
520
|
+
field :end_cursor, String, null: true
|
521
521
|
end
|
522
522
|
|
523
523
|
class SortDirType < GraphQL::Schema::Enum
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphiti_graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-08-
|
11
|
+
date: 2021-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphiti
|