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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40128f0eaf0ad7859fa35c67bb73b2a2fccf51829bb3914877ce0c19730def91
4
- data.tar.gz: 6f3fe80c618aaa093dd2daec4aa726621c32d2228bb92ddfdfd00f6a610490af
3
+ metadata.gz: 2bd5442b050cb69b0ee1d2bc601f6bba2aa6f891d87f0d30168f70979881e779
4
+ data.tar.gz: 2135585438d5c17da4a74f3e35110e6030a2ba52229118490eb4d10d941fa326
5
5
  SHA512:
6
- metadata.gz: f957bb6f2092f052d683c94008940823a29cb0a995d4741eaadbf2b87f0e3585268e01819a7fde057afd0a99c0f2b4dd14d2fc76903f3e44cc51c05724a0bd69
7
- data.tar.gz: 30c3b26190d74c0559553458d05fdd36367fb9742b320322138d0f7a9ac503775d14edddb3a25b28276b5c099588186554f6ac686da0095175c557a921c1029e
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 "Page"
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: false
520
- field :end_cursor, String, null: false
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
@@ -1,3 +1,3 @@
1
1
  module GraphitiGraphQL
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
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.8
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-08 00:00:00.000000000 Z
11
+ date: 2021-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphiti