graphql 1.8.6 → 1.8.7
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 +5 -5
 - data/lib/generators/graphql/mutation_generator.rb +1 -1
 - data/lib/generators/graphql/templates/base_enum.erb +3 -1
 - data/lib/generators/graphql/templates/base_input_object.erb +3 -1
 - data/lib/generators/graphql/templates/base_interface.erb +4 -2
 - data/lib/generators/graphql/templates/base_object.erb +3 -1
 - data/lib/generators/graphql/templates/base_union.erb +3 -1
 - data/lib/generators/graphql/templates/enum.erb +5 -3
 - data/lib/generators/graphql/templates/interface.erb +6 -4
 - data/lib/generators/graphql/templates/loader.erb +14 -12
 - data/lib/generators/graphql/templates/mutation.erb +9 -6
 - data/lib/generators/graphql/templates/mutation_type.erb +8 -6
 - data/lib/generators/graphql/templates/object.erb +6 -4
 - data/lib/generators/graphql/templates/query_type.erb +13 -11
 - data/lib/generators/graphql/templates/union.erb +5 -3
 - data/lib/graphql/argument.rb +19 -2
 - data/lib/graphql/base_type.rb +1 -1
 - data/lib/graphql/define/instance_definable.rb +2 -0
 - data/lib/graphql/enum_type.rb +1 -0
 - data/lib/graphql/execution/instrumentation.rb +28 -20
 - data/lib/graphql/field.rb +3 -3
 - data/lib/graphql/input_object_type.rb +2 -1
 - data/lib/graphql/query.rb +1 -9
 - data/lib/graphql/query/variables.rb +1 -18
 - data/lib/graphql/relay.rb +0 -1
 - data/lib/graphql/relay/mongo_relation_connection.rb +10 -0
 - data/lib/graphql/relay/mutation.rb +2 -1
 - data/lib/graphql/schema.rb +5 -4
 - data/lib/graphql/schema/base_64_bp.rb +25 -0
 - data/lib/graphql/schema/base_64_encoder.rb +5 -1
 - data/lib/graphql/schema/field.rb +52 -22
 - data/lib/graphql/schema/interface.rb +2 -0
 - data/lib/graphql/schema/list.rb +3 -15
 - data/lib/graphql/schema/member.rb +8 -4
 - data/lib/graphql/schema/member/base_dsl_methods.rb +12 -6
 - data/lib/graphql/schema/member/has_arguments.rb +7 -0
 - data/lib/graphql/schema/member/relay_shortcuts.rb +47 -0
 - data/lib/graphql/schema/member/scoped.rb +21 -0
 - data/lib/graphql/schema/non_null.rb +8 -17
 - data/lib/graphql/schema/resolver.rb +99 -76
 - data/lib/graphql/schema/unique_within_type.rb +4 -1
 - data/lib/graphql/schema/wrapper.rb +29 -0
 - data/lib/graphql/static_validation/validation_context.rb +1 -3
 - data/lib/graphql/subscriptions/action_cable_subscriptions.rb +1 -1
 - data/lib/graphql/type_kinds.rb +32 -8
 - data/lib/graphql/types/relay/base_connection.rb +17 -3
 - data/lib/graphql/types/relay/base_edge.rb +12 -0
 - data/lib/graphql/version.rb +1 -1
 - data/spec/generators/graphql/enum_generator_spec.rb +8 -6
 - data/spec/generators/graphql/install_generator_spec.rb +24 -20
 - data/spec/generators/graphql/interface_generator_spec.rb +6 -4
 - data/spec/generators/graphql/loader_generator_spec.rb +30 -26
 - data/spec/generators/graphql/mutation_generator_spec.rb +18 -13
 - data/spec/generators/graphql/object_generator_spec.rb +12 -6
 - data/spec/generators/graphql/union_generator_spec.rb +10 -4
 - data/spec/graphql/authorization_spec.rb +55 -14
 - data/spec/graphql/input_object_type_spec.rb +11 -0
 - data/spec/graphql/language/generation_spec.rb +8 -6
 - data/spec/graphql/language/nodes_spec.rb +8 -6
 - data/spec/graphql/relay/connection_instrumentation_spec.rb +1 -1
 - data/spec/graphql/relay/mongo_relation_connection_spec.rb +54 -0
 - data/spec/graphql/schema/field_spec.rb +9 -0
 - data/spec/graphql/schema/list_spec.rb +46 -0
 - data/spec/graphql/schema/member/scoped_spec.rb +161 -0
 - data/spec/graphql/schema/non_null_spec.rb +46 -0
 - data/spec/graphql/schema/object_spec.rb +15 -0
 - data/spec/graphql/schema/resolver_spec.rb +165 -25
 - data/spec/graphql/subscriptions/serialize_spec.rb +0 -22
 - data/spec/graphql/subscriptions_spec.rb +19 -31
 - data/spec/support/global_id.rb +23 -0
 - data/spec/support/lazy_helpers.rb +1 -1
 - data/spec/support/star_trek/data.rb +19 -2
 - data/spec/support/star_trek/schema.rb +37 -22
 - data/spec/support/star_wars/schema.rb +24 -17
 - metadata +220 -208
 
| 
         @@ -1,28 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # frozen_string_literal: true
         
     | 
| 
       2 
2 
     | 
    
         
             
            require "spec_helper"
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
     | 
    
         
            -
            if defined?(GlobalID)
         
     | 
| 
       5 
     | 
    
         
            -
              GlobalID.app = "graphql-ruby-test"
         
     | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
              class GlobalIDUser
         
     | 
| 
       8 
     | 
    
         
            -
                include GlobalID::Identification
         
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
                attr_reader :id
         
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
                def initialize(id)
         
     | 
| 
       13 
     | 
    
         
            -
                  @id = id
         
     | 
| 
       14 
     | 
    
         
            -
                end
         
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
                def self.find(id)
         
     | 
| 
       17 
     | 
    
         
            -
                  GlobalIDUser.new(id)
         
     | 
| 
       18 
     | 
    
         
            -
                end
         
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
                def ==(that)
         
     | 
| 
       21 
     | 
    
         
            -
                  self.id == that.id
         
     | 
| 
       22 
     | 
    
         
            -
                end
         
     | 
| 
       23 
     | 
    
         
            -
              end
         
     | 
| 
       24 
     | 
    
         
            -
            end
         
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
4 
     | 
    
         
             
            describe GraphQL::Subscriptions::Serialize do
         
     | 
| 
       27 
5 
     | 
    
         
             
              def serialize_dump(v)
         
     | 
| 
       28 
6 
     | 
    
         
             
                GraphQL::Subscriptions::Serialize.dump(v)
         
     | 
| 
         @@ -197,27 +197,13 @@ class FromDefinitionInMemoryBackend < InMemoryBackend 
     | 
|
| 
       197 
197 
     | 
    
         
             
              Schema.get_field("Subscription", "myEvent").subscription_scope = :me
         
     | 
| 
       198 
198 
     | 
    
         
             
            end
         
     | 
| 
       199 
199 
     | 
    
         | 
| 
       200 
     | 
    
         
            -
             
     | 
| 
       201 
     | 
    
         
            -
               
     | 
| 
       202 
     | 
    
         
            -
             
     | 
| 
       203 
     | 
    
         
            -
              class GlobalIDUser
         
     | 
| 
       204 
     | 
    
         
            -
                include GlobalID::Identification
         
     | 
| 
       205 
     | 
    
         
            -
             
     | 
| 
       206 
     | 
    
         
            -
                attr_reader :id
         
     | 
| 
       207 
     | 
    
         
            -
             
     | 
| 
       208 
     | 
    
         
            -
                def initialize(id)
         
     | 
| 
       209 
     | 
    
         
            -
                  @id = id
         
     | 
| 
       210 
     | 
    
         
            -
                end
         
     | 
| 
      
 200 
     | 
    
         
            +
            class ToParamUser
         
     | 
| 
      
 201 
     | 
    
         
            +
              def initialize(id)
         
     | 
| 
      
 202 
     | 
    
         
            +
                @id = id
         
     | 
| 
       211 
203 
     | 
    
         
             
              end
         
     | 
| 
       212 
204 
     | 
    
         | 
| 
       213 
     | 
    
         
            -
               
     | 
| 
       214 
     | 
    
         
            -
                 
     | 
| 
       215 
     | 
    
         
            -
                  @id = id
         
     | 
| 
       216 
     | 
    
         
            -
                end
         
     | 
| 
       217 
     | 
    
         
            -
             
     | 
| 
       218 
     | 
    
         
            -
                def to_param
         
     | 
| 
       219 
     | 
    
         
            -
                  @id
         
     | 
| 
       220 
     | 
    
         
            -
                end
         
     | 
| 
      
 205 
     | 
    
         
            +
              def to_param
         
     | 
| 
      
 206 
     | 
    
         
            +
                @id
         
     | 
| 
       221 
207 
     | 
    
         
             
              end
         
     | 
| 
       222 
208 
     | 
    
         
             
            end
         
     | 
| 
       223 
209 
     | 
    
         | 
| 
         @@ -286,6 +272,18 @@ describe GraphQL::Subscriptions do 
     | 
|
| 
       286 
272 
     | 
    
         
             
                  end
         
     | 
| 
       287 
273 
     | 
    
         | 
| 
       288 
274 
     | 
    
         
             
                  describe "trigger" do
         
     | 
| 
      
 275 
     | 
    
         
            +
                    let(:error_payload_class) {
         
     | 
| 
      
 276 
     | 
    
         
            +
                      Class.new {
         
     | 
| 
      
 277 
     | 
    
         
            +
                        def int
         
     | 
| 
      
 278 
     | 
    
         
            +
                          raise "Boom!"
         
     | 
| 
      
 279 
     | 
    
         
            +
                        end
         
     | 
| 
      
 280 
     | 
    
         
            +
             
     | 
| 
      
 281 
     | 
    
         
            +
                        def str
         
     | 
| 
      
 282 
     | 
    
         
            +
                          raise GraphQL::ExecutionError.new("This is handled")
         
     | 
| 
      
 283 
     | 
    
         
            +
                        end
         
     | 
| 
      
 284 
     | 
    
         
            +
                      }
         
     | 
| 
      
 285 
     | 
    
         
            +
                    }
         
     | 
| 
      
 286 
     | 
    
         
            +
             
     | 
| 
       289 
287 
     | 
    
         
             
                    it "uses the provided queue" do
         
     | 
| 
       290 
288 
     | 
    
         
             
                      query_str = <<-GRAPHQL
         
     | 
| 
       291 
289 
     | 
    
         
             
                    subscription ($id: ID!){
         
     | 
| 
         @@ -406,16 +404,6 @@ describe GraphQL::Subscriptions do 
     | 
|
| 
       406 
404 
     | 
    
         
             
                    end
         
     | 
| 
       407 
405 
     | 
    
         | 
| 
       408 
406 
     | 
    
         
             
                    describe "errors" do
         
     | 
| 
       409 
     | 
    
         
            -
                      class ErrorPayload
         
     | 
| 
       410 
     | 
    
         
            -
                        def int
         
     | 
| 
       411 
     | 
    
         
            -
                          raise "Boom!"
         
     | 
| 
       412 
     | 
    
         
            -
                        end
         
     | 
| 
       413 
     | 
    
         
            -
             
     | 
| 
       414 
     | 
    
         
            -
                        def str
         
     | 
| 
       415 
     | 
    
         
            -
                          raise GraphQL::ExecutionError.new("This is handled")
         
     | 
| 
       416 
     | 
    
         
            -
                        end
         
     | 
| 
       417 
     | 
    
         
            -
                      end
         
     | 
| 
       418 
     | 
    
         
            -
             
     | 
| 
       419 
407 
     | 
    
         
             
                      it "avoid subscription on resolver error" do
         
     | 
| 
       420 
408 
     | 
    
         
             
                        res = schema.execute(<<-GRAPHQL, context: { socket: "1" }, variables: { "id" => "100" })
         
     | 
| 
       421 
409 
     | 
    
         
             
                      subscription ($id: ID!){
         
     | 
| 
         @@ -439,7 +427,7 @@ describe GraphQL::Subscriptions do 
     | 
|
| 
       439 
427 
     | 
    
         | 
| 
       440 
428 
     | 
    
         
             
                        schema.execute(query_str, context: { socket: "1", me: "1" }, variables: { "type" => "ONE" }, root_value: root_object)
         
     | 
| 
       441 
429 
     | 
    
         
             
                        err = assert_raises(RuntimeError) {
         
     | 
| 
       442 
     | 
    
         
            -
                          schema.subscriptions.trigger("myEvent", { "type" => "ONE" },  
     | 
| 
      
 430 
     | 
    
         
            +
                          schema.subscriptions.trigger("myEvent", { "type" => "ONE" }, error_payload_class.new, scope: "1")
         
     | 
| 
       443 
431 
     | 
    
         
             
                        }
         
     | 
| 
       444 
432 
     | 
    
         
             
                        assert_equal "Boom!", err.message
         
     | 
| 
       445 
433 
     | 
    
         
             
                      end
         
     | 
| 
         @@ -453,7 +441,7 @@ describe GraphQL::Subscriptions do 
     | 
|
| 
       453 
441 
     | 
    
         
             
                      GRAPHQL
         
     | 
| 
       454 
442 
     | 
    
         | 
| 
       455 
443 
     | 
    
         
             
                      schema.execute(query_str, context: { socket: "1", me: "1" }, variables: { "type" => "ONE" }, root_value: root_object)
         
     | 
| 
       456 
     | 
    
         
            -
                      schema.subscriptions.trigger("myEvent", { "type" => "ONE" },  
     | 
| 
      
 444 
     | 
    
         
            +
                      schema.subscriptions.trigger("myEvent", { "type" => "ONE" }, error_payload_class.new, scope: "1")
         
     | 
| 
       457 
445 
     | 
    
         
             
                      res = deliveries["1"].first
         
     | 
| 
       458 
446 
     | 
    
         
             
                      assert_equal "This is handled", res["errors"][0]["message"]
         
     | 
| 
       459 
447 
     | 
    
         
             
                    end
         
     | 
| 
         @@ -0,0 +1,23 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            if defined?(GlobalID)
         
     | 
| 
      
 4 
     | 
    
         
            +
              GlobalID.app = "graphql-ruby-test"
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
              class GlobalIDUser
         
     | 
| 
      
 7 
     | 
    
         
            +
                include GlobalID::Identification
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                attr_reader :id
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
                def initialize(id)
         
     | 
| 
      
 12 
     | 
    
         
            +
                  @id = id
         
     | 
| 
      
 13 
     | 
    
         
            +
                end
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
                def self.find(id)
         
     | 
| 
      
 16 
     | 
    
         
            +
                  GlobalIDUser.new(id)
         
     | 
| 
      
 17 
     | 
    
         
            +
                end
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
                def ==(that)
         
     | 
| 
      
 20 
     | 
    
         
            +
                  self.id == that.id
         
     | 
| 
      
 21 
     | 
    
         
            +
                end
         
     | 
| 
      
 22 
     | 
    
         
            +
              end
         
     | 
| 
      
 23 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -40,16 +40,33 @@ module StarTrek 
     | 
|
| 
       40 
40 
     | 
    
         
             
                field :name, type: String
         
     | 
| 
       41 
41 
     | 
    
         
             
                field :sector, type: String
         
     | 
| 
       42 
42 
     | 
    
         
             
                field :faction_id, type: Integer
         
     | 
| 
      
 43 
     | 
    
         
            +
                has_many :residents, class_name: 'StarTrek::Resident', inverse_of: :base
         
     | 
| 
      
 44 
     | 
    
         
            +
              end
         
     | 
| 
      
 45 
     | 
    
         
            +
             
     | 
| 
      
 46 
     | 
    
         
            +
              class Resident
         
     | 
| 
      
 47 
     | 
    
         
            +
                include Mongoid::Document
         
     | 
| 
      
 48 
     | 
    
         
            +
                field :name, type: String
         
     | 
| 
      
 49 
     | 
    
         
            +
                belongs_to :base, class_name: 'StarTrek::Base'
         
     | 
| 
       43 
50 
     | 
    
         
             
              end
         
     | 
| 
       44 
51 
     | 
    
         | 
| 
       45 
52 
     | 
    
         
             
              Base.collection.drop
         
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
              Base.create!(name: " 
     | 
| 
      
 53 
     | 
    
         
            +
             
     | 
| 
      
 54 
     | 
    
         
            +
              dsk7 = Base.create!(name: "Deep Space Station K-7", sector: "Mempa", faction_id: 1)
         
     | 
| 
      
 55 
     | 
    
         
            +
              dsk7.residents.create!(name: "Shir th'Talias")
         
     | 
| 
      
 56 
     | 
    
         
            +
              dsk7.residents.create!(name: "Lurry")
         
     | 
| 
      
 57 
     | 
    
         
            +
              dsk7.residents.create!(name: "Mackenzie Calhoun")
         
     | 
| 
      
 58 
     | 
    
         
            +
             
     | 
| 
      
 59 
     | 
    
         
            +
              r1 = Base.create!(name: "Regula I", sector: "Mutara", faction_id: 1)
         
     | 
| 
      
 60 
     | 
    
         
            +
              r1.residents.create!(name: "V. Madison")
         
     | 
| 
      
 61 
     | 
    
         
            +
              r1.residents.create!(name: "D. March")
         
     | 
| 
      
 62 
     | 
    
         
            +
              r1.residents.create!(name: "C. Marcus")
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
       48 
64 
     | 
    
         
             
              Base.create!(name: "Deep Space Nine", sector: "Bajoran", faction_id: 1)
         
     | 
| 
       49 
65 
     | 
    
         
             
              Base.create!(name: "Firebase P'ok", sector: nil, faction_id: 2)
         
     | 
| 
       50 
66 
     | 
    
         
             
              Base.create!(name: "Ganalda Space Station", sector: "Archanis", faction_id: 2)
         
     | 
| 
       51 
67 
     | 
    
         
             
              Base.create!(name: "Rh'Ihho Station", sector: "Rator", faction_id: 3)
         
     | 
| 
       52 
68 
     | 
    
         | 
| 
      
 69 
     | 
    
         
            +
             
     | 
| 
       53 
70 
     | 
    
         
             
              class FactionRecord
         
     | 
| 
       54 
71 
     | 
    
         
             
                attr_reader :id, :name, :ships, :bases, :bases_clone
         
     | 
| 
       55 
72 
     | 
    
         
             
                def initialize(id:, name:, ships:, bases:, bases_clone:)
         
     | 
| 
         @@ -11,6 +11,11 @@ module StarTrek 
     | 
|
| 
       11 
11 
     | 
    
         
             
                field :ships, Ship.connection_type, null: false
         
     | 
| 
       12 
12 
     | 
    
         
             
              end
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
      
 14 
     | 
    
         
            +
              class ResidentType < GraphQL::Schema::Object
         
     | 
| 
      
 15 
     | 
    
         
            +
                global_id_field :id
         
     | 
| 
      
 16 
     | 
    
         
            +
                field :name, String, null: true
         
     | 
| 
      
 17 
     | 
    
         
            +
              end
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
       14 
19 
     | 
    
         
             
              class BaseType < GraphQL::Schema::Object
         
     | 
| 
       15 
20 
     | 
    
         
             
                graphql_name "Base"
         
     | 
| 
       16 
21 
     | 
    
         
             
                implements GraphQL::Relay::Node.interface
         
     | 
| 
         @@ -25,14 +30,16 @@ module StarTrek 
     | 
|
| 
       25 
30 
     | 
    
         
             
                  }
         
     | 
| 
       26 
31 
     | 
    
         
             
                }
         
     | 
| 
       27 
32 
     | 
    
         
             
                field :sector, String, null: true
         
     | 
| 
      
 33 
     | 
    
         
            +
                field :residents, ResidentType.connection_type, null: true
         
     | 
| 
       28 
34 
     | 
    
         
             
              end
         
     | 
| 
       29 
35 
     | 
    
         | 
| 
       30 
     | 
    
         
            -
               
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
                 
     | 
| 
       33 
     | 
    
         
            -
                field : 
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
      
 36 
     | 
    
         
            +
              class BaseConnectionWithTotalCountType < GraphQL::Types::Relay::BaseConnection
         
     | 
| 
      
 37 
     | 
    
         
            +
                graphql_name "BasesConnectionWithTotalCount"
         
     | 
| 
      
 38 
     | 
    
         
            +
                edge_type(BaseType.edge_type)
         
     | 
| 
      
 39 
     | 
    
         
            +
                field :total_count, Integer, null: true
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
                def total_count
         
     | 
| 
      
 42 
     | 
    
         
            +
                  object.nodes.count
         
     | 
| 
       36 
43 
     | 
    
         
             
                end
         
     | 
| 
       37 
44 
     | 
    
         
             
              end
         
     | 
| 
       38 
45 
     | 
    
         | 
| 
         @@ -46,24 +53,30 @@ module StarTrek 
     | 
|
| 
       46 
53 
     | 
    
         
             
                end
         
     | 
| 
       47 
54 
     | 
    
         
             
              end
         
     | 
| 
       48 
55 
     | 
    
         | 
| 
       49 
     | 
    
         
            -
              CustomBaseEdgeType  
     | 
| 
       50 
     | 
    
         
            -
                 
     | 
| 
       51 
     | 
    
         
            -
                 
     | 
| 
       52 
     | 
    
         
            -
                field : 
     | 
| 
       53 
     | 
    
         
            -
                field : 
     | 
| 
       54 
     | 
    
         
            -
             
     | 
| 
      
 56 
     | 
    
         
            +
              class CustomBaseEdgeType < GraphQL::Types::Relay::BaseEdge
         
     | 
| 
      
 57 
     | 
    
         
            +
                node_type(BaseType)
         
     | 
| 
      
 58 
     | 
    
         
            +
                graphql_name "CustomBaseEdge"
         
     | 
| 
      
 59 
     | 
    
         
            +
                field :upcased_name, String, null: true
         
     | 
| 
      
 60 
     | 
    
         
            +
                field :upcased_parent_name, String, null: true
         
     | 
| 
      
 61 
     | 
    
         
            +
                field :edge_class_name, String, null: true
         
     | 
| 
      
 62 
     | 
    
         
            +
             
     | 
| 
      
 63 
     | 
    
         
            +
                def edge_class_name
         
     | 
| 
      
 64 
     | 
    
         
            +
                  object.class.name
         
     | 
| 
       55 
65 
     | 
    
         
             
                end
         
     | 
| 
       56 
66 
     | 
    
         
             
              end
         
     | 
| 
       57 
67 
     | 
    
         | 
| 
       58 
     | 
    
         
            -
              CustomEdgeBaseConnectionType  
     | 
| 
       59 
     | 
    
         
            -
                 
     | 
| 
      
 68 
     | 
    
         
            +
              class CustomEdgeBaseConnectionType < GraphQL::Types::Relay::BaseConnection
         
     | 
| 
      
 69 
     | 
    
         
            +
                edge_type(CustomBaseEdgeType, edge_class: CustomBaseEdge)
         
     | 
| 
       60 
70 
     | 
    
         | 
| 
       61 
     | 
    
         
            -
                field : 
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
                   
     | 
| 
      
 71 
     | 
    
         
            +
                field :total_count_times_100, Integer, null: true
         
     | 
| 
      
 72 
     | 
    
         
            +
                def total_count_times_100
         
     | 
| 
      
 73 
     | 
    
         
            +
                  obj.nodes.count * 100
         
     | 
| 
       64 
74 
     | 
    
         
             
                end
         
     | 
| 
       65 
75 
     | 
    
         | 
| 
       66 
     | 
    
         
            -
                field : 
     | 
| 
      
 76 
     | 
    
         
            +
                field :field_name, String, null: true
         
     | 
| 
      
 77 
     | 
    
         
            +
                def field_name
         
     | 
| 
      
 78 
     | 
    
         
            +
                  object.field.name
         
     | 
| 
      
 79 
     | 
    
         
            +
                end
         
     | 
| 
       67 
80 
     | 
    
         
             
              end
         
     | 
| 
       68 
81 
     | 
    
         | 
| 
       69 
82 
     | 
    
         
             
              # Example of GraphQL::Function used with the connection helper:
         
     | 
| 
         @@ -80,10 +93,12 @@ module StarTrek 
     | 
|
| 
       80 
93 
     | 
    
         
             
                type Ship.connection_type
         
     | 
| 
       81 
94 
     | 
    
         
             
              end
         
     | 
| 
       82 
95 
     | 
    
         | 
| 
       83 
     | 
    
         
            -
              ShipConnectionWithParentType  
     | 
| 
       84 
     | 
    
         
            -
                 
     | 
| 
       85 
     | 
    
         
            -
                 
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
      
 96 
     | 
    
         
            +
              class ShipConnectionWithParentType < GraphQL::Types::Relay::BaseConnection
         
     | 
| 
      
 97 
     | 
    
         
            +
                edge_type(Ship.edge_type)
         
     | 
| 
      
 98 
     | 
    
         
            +
                graphql_name "ShipConnectionWithParent"
         
     | 
| 
      
 99 
     | 
    
         
            +
                field :parent_class_name, String, null: false
         
     | 
| 
      
 100 
     | 
    
         
            +
                def parent_class_name
         
     | 
| 
      
 101 
     | 
    
         
            +
                  object.parent.class.name
         
     | 
| 
       87 
102 
     | 
    
         
             
                end
         
     | 
| 
       88 
103 
     | 
    
         
             
              end
         
     | 
| 
       89 
104 
     | 
    
         | 
| 
         @@ -61,24 +61,29 @@ module StarWars 
     | 
|
| 
       61 
61 
     | 
    
         
             
                end
         
     | 
| 
       62 
62 
     | 
    
         
             
              end
         
     | 
| 
       63 
63 
     | 
    
         | 
| 
       64 
     | 
    
         
            -
              CustomBaseEdgeType  
     | 
| 
       65 
     | 
    
         
            -
                 
     | 
| 
       66 
     | 
    
         
            -
                 
     | 
| 
       67 
     | 
    
         
            -
                field : 
     | 
| 
       68 
     | 
    
         
            -
                field : 
     | 
| 
       69 
     | 
    
         
            -
             
     | 
| 
      
 64 
     | 
    
         
            +
              class CustomBaseEdgeType < GraphQL::Types::Relay::BaseEdge
         
     | 
| 
      
 65 
     | 
    
         
            +
                node_type(BaseType)
         
     | 
| 
      
 66 
     | 
    
         
            +
                graphql_name "CustomBaseEdge"
         
     | 
| 
      
 67 
     | 
    
         
            +
                field :upcased_name, String, null: true
         
     | 
| 
      
 68 
     | 
    
         
            +
                field :upcased_parent_name, String, null: true
         
     | 
| 
      
 69 
     | 
    
         
            +
                field :edge_class_name, String, null: true
         
     | 
| 
      
 70 
     | 
    
         
            +
             
     | 
| 
      
 71 
     | 
    
         
            +
                def edge_class_name
         
     | 
| 
      
 72 
     | 
    
         
            +
                  object.class.name
         
     | 
| 
       70 
73 
     | 
    
         
             
                end
         
     | 
| 
       71 
74 
     | 
    
         
             
              end
         
     | 
| 
       72 
75 
     | 
    
         | 
| 
       73 
     | 
    
         
            -
              CustomEdgeBaseConnectionType  
     | 
| 
       74 
     | 
    
         
            -
                 
     | 
| 
       75 
     | 
    
         
            -
             
     | 
| 
       76 
     | 
    
         
            -
                 
     | 
| 
       77 
     | 
    
         
            -
                   
     | 
| 
       78 
     | 
    
         
            -
                  resolve ->(obj, args, ctx) { obj.nodes.count * 100 }
         
     | 
| 
      
 76 
     | 
    
         
            +
              class CustomEdgeBaseConnectionType < GraphQL::Types::Relay::BaseConnection
         
     | 
| 
      
 77 
     | 
    
         
            +
                edge_type(CustomBaseEdgeType, edge_class: CustomBaseEdge, nodes_field: true)
         
     | 
| 
      
 78 
     | 
    
         
            +
                field :total_count_times_100, Integer, null: true
         
     | 
| 
      
 79 
     | 
    
         
            +
                def total_count_times_100
         
     | 
| 
      
 80 
     | 
    
         
            +
                  object.nodes.count * 100
         
     | 
| 
       79 
81 
     | 
    
         
             
                end
         
     | 
| 
       80 
82 
     | 
    
         | 
| 
       81 
     | 
    
         
            -
                field : 
     | 
| 
      
 83 
     | 
    
         
            +
                field :field_name, String, null: true
         
     | 
| 
      
 84 
     | 
    
         
            +
                def field_name
         
     | 
| 
      
 85 
     | 
    
         
            +
                  object.field.name
         
     | 
| 
      
 86 
     | 
    
         
            +
                end
         
     | 
| 
       82 
87 
     | 
    
         
             
              end
         
     | 
| 
       83 
88 
     | 
    
         | 
| 
       84 
89 
     | 
    
         
             
              # Example of GraphQL::Function used with the connection helper:
         
     | 
| 
         @@ -95,10 +100,12 @@ module StarWars 
     | 
|
| 
       95 
100 
     | 
    
         
             
                type Ship.connection_type
         
     | 
| 
       96 
101 
     | 
    
         
             
              end
         
     | 
| 
       97 
102 
     | 
    
         | 
| 
       98 
     | 
    
         
            -
              ShipConnectionWithParentType  
     | 
| 
       99 
     | 
    
         
            -
                 
     | 
| 
       100 
     | 
    
         
            -
                field : 
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
      
 103 
     | 
    
         
            +
              class ShipConnectionWithParentType < GraphQL::Types::Relay::BaseConnection
         
     | 
| 
      
 104 
     | 
    
         
            +
                edge_type(Ship.edge_type)
         
     | 
| 
      
 105 
     | 
    
         
            +
                field :parent_class_name, String, null: false
         
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
                def parent_class_name
         
     | 
| 
      
 108 
     | 
    
         
            +
                  object.parent.class.name
         
     | 
| 
       102 
109 
     | 
    
         
             
                end
         
     | 
| 
       103 
110 
     | 
    
         
             
              end
         
     | 
| 
       104 
111 
     | 
    
         | 
    
        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: 1.8. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.8.7
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Robert Mosolgo
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2018- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2018-08-09 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: benchmark-ips
         
     | 
| 
         @@ -491,6 +491,7 @@ files: 
     | 
|
| 
       491 
491 
     | 
    
         
             
            - lib/graphql/scalar_type.rb
         
     | 
| 
       492 
492 
     | 
    
         
             
            - lib/graphql/schema.rb
         
     | 
| 
       493 
493 
     | 
    
         
             
            - lib/graphql/schema/argument.rb
         
     | 
| 
      
 494 
     | 
    
         
            +
            - lib/graphql/schema/base_64_bp.rb
         
     | 
| 
       494 
495 
     | 
    
         
             
            - lib/graphql/schema/base_64_encoder.rb
         
     | 
| 
       495 
496 
     | 
    
         
             
            - lib/graphql/schema/build_from_definition.rb
         
     | 
| 
       496 
497 
     | 
    
         
             
            - lib/graphql/schema/build_from_definition/resolve_map.rb
         
     | 
| 
         @@ -519,6 +520,8 @@ files: 
     | 
|
| 
       519 
520 
     | 
    
         
             
            - lib/graphql/schema/member/has_arguments.rb
         
     | 
| 
       520 
521 
     | 
    
         
             
            - lib/graphql/schema/member/has_fields.rb
         
     | 
| 
       521 
522 
     | 
    
         
             
            - lib/graphql/schema/member/instrumentation.rb
         
     | 
| 
      
 523 
     | 
    
         
            +
            - lib/graphql/schema/member/relay_shortcuts.rb
         
     | 
| 
      
 524 
     | 
    
         
            +
            - lib/graphql/schema/member/scoped.rb
         
     | 
| 
       522 
525 
     | 
    
         
             
            - lib/graphql/schema/member/type_system_helpers.rb
         
     | 
| 
       523 
526 
     | 
    
         
             
            - lib/graphql/schema/middleware_chain.rb
         
     | 
| 
       524 
527 
     | 
    
         
             
            - lib/graphql/schema/mutation.rb
         
     | 
| 
         @@ -538,6 +541,7 @@ files: 
     | 
|
| 
       538 
541 
     | 
    
         
             
            - lib/graphql/schema/unique_within_type.rb
         
     | 
| 
       539 
542 
     | 
    
         
             
            - lib/graphql/schema/validation.rb
         
     | 
| 
       540 
543 
     | 
    
         
             
            - lib/graphql/schema/warden.rb
         
     | 
| 
      
 544 
     | 
    
         
            +
            - lib/graphql/schema/wrapper.rb
         
     | 
| 
       541 
545 
     | 
    
         
             
            - lib/graphql/static_validation.rb
         
     | 
| 
       542 
546 
     | 
    
         
             
            - lib/graphql/static_validation/all_rules.rb
         
     | 
| 
       543 
547 
     | 
    
         
             
            - lib/graphql/static_validation/arguments_validator.rb
         
     | 
| 
         @@ -779,13 +783,16 @@ files: 
     | 
|
| 
       779 
783 
     | 
    
         
             
            - spec/graphql/schema/instrumentation_spec.rb
         
     | 
| 
       780 
784 
     | 
    
         
             
            - spec/graphql/schema/interface_spec.rb
         
     | 
| 
       781 
785 
     | 
    
         
             
            - spec/graphql/schema/introspection_system_spec.rb
         
     | 
| 
      
 786 
     | 
    
         
            +
            - spec/graphql/schema/list_spec.rb
         
     | 
| 
       782 
787 
     | 
    
         
             
            - spec/graphql/schema/loader_spec.rb
         
     | 
| 
       783 
788 
     | 
    
         
             
            - spec/graphql/schema/member/accepts_definition_spec.rb
         
     | 
| 
       784 
789 
     | 
    
         
             
            - spec/graphql/schema/member/build_type_spec.rb
         
     | 
| 
       785 
790 
     | 
    
         
             
            - spec/graphql/schema/member/has_fields_spec.rb
         
     | 
| 
      
 791 
     | 
    
         
            +
            - spec/graphql/schema/member/scoped_spec.rb
         
     | 
| 
       786 
792 
     | 
    
         
             
            - spec/graphql/schema/member/type_system_helpers_spec.rb
         
     | 
| 
       787 
793 
     | 
    
         
             
            - spec/graphql/schema/middleware_chain_spec.rb
         
     | 
| 
       788 
794 
     | 
    
         
             
            - spec/graphql/schema/mutation_spec.rb
         
     | 
| 
      
 795 
     | 
    
         
            +
            - spec/graphql/schema/non_null_spec.rb
         
     | 
| 
       789 
796 
     | 
    
         
             
            - spec/graphql/schema/object_spec.rb
         
     | 
| 
       790 
797 
     | 
    
         
             
            - spec/graphql/schema/printer_spec.rb
         
     | 
| 
       791 
798 
     | 
    
         
             
            - spec/graphql/schema/relay_classic_mutation_spec.rb
         
     | 
| 
         @@ -847,6 +854,7 @@ files: 
     | 
|
| 
       847 
854 
     | 
    
         
             
            - spec/support/base_generator_test.rb
         
     | 
| 
       848 
855 
     | 
    
         
             
            - spec/support/dummy/data.rb
         
     | 
| 
       849 
856 
     | 
    
         
             
            - spec/support/dummy/schema.rb
         
     | 
| 
      
 857 
     | 
    
         
            +
            - spec/support/global_id.rb
         
     | 
| 
       850 
858 
     | 
    
         
             
            - spec/support/jazz.rb
         
     | 
| 
       851 
859 
     | 
    
         
             
            - spec/support/lazy_helpers.rb
         
     | 
| 
       852 
860 
     | 
    
         
             
            - spec/support/magic_cards/schema.graphql
         
     | 
| 
         @@ -881,256 +889,260 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       881 
889 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       882 
890 
     | 
    
         
             
            requirements: []
         
     | 
| 
       883 
891 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       884 
     | 
    
         
            -
            rubygems_version: 2. 
     | 
| 
      
 892 
     | 
    
         
            +
            rubygems_version: 2.6.13
         
     | 
| 
       885 
893 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       886 
894 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       887 
895 
     | 
    
         
             
            summary: A GraphQL language and runtime for Ruby
         
     | 
| 
       888 
896 
     | 
    
         
             
            test_files:
         
     | 
| 
       889 
     | 
    
         
            -
            - spec/rails_dependency_sanity_spec.rb
         
     | 
| 
       890 
     | 
    
         
            -
            - spec/spec_helper.rb
         
     | 
| 
       891 
     | 
    
         
            -
            - spec/dummy/app/jobs/application_job.rb
         
     | 
| 
       892 
     | 
    
         
            -
            - spec/dummy/app/controllers/application_controller.rb
         
     | 
| 
       893 
     | 
    
         
            -
            - spec/dummy/app/controllers/pages_controller.rb
         
     | 
| 
       894 
     | 
    
         
            -
            - spec/dummy/app/views/layouts/application.html.erb
         
     | 
| 
       895 
     | 
    
         
            -
            - spec/dummy/app/views/pages/show.html
         
     | 
| 
       896 
897 
     | 
    
         
             
            - spec/dummy/app/assets/config/manifest.js
         
     | 
| 
       897 
898 
     | 
    
         
             
            - spec/dummy/app/assets/javascripts/application.js
         
     | 
| 
       898 
     | 
    
         
            -
            - spec/dummy/app/helpers/application_helper.rb
         
     | 
| 
       899 
     | 
    
         
            -
            - spec/dummy/app/channels/application_cable/connection.rb
         
     | 
| 
       900 
899 
     | 
    
         
             
            - spec/dummy/app/channels/application_cable/channel.rb
         
     | 
| 
      
 900 
     | 
    
         
            +
            - spec/dummy/app/channels/application_cable/connection.rb
         
     | 
| 
       901 
901 
     | 
    
         
             
            - spec/dummy/app/channels/graphql_channel.rb
         
     | 
| 
       902 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
       903 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
       904 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
       905 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
      
 902 
     | 
    
         
            +
            - spec/dummy/app/controllers/application_controller.rb
         
     | 
| 
      
 903 
     | 
    
         
            +
            - spec/dummy/app/controllers/pages_controller.rb
         
     | 
| 
      
 904 
     | 
    
         
            +
            - spec/dummy/app/helpers/application_helper.rb
         
     | 
| 
      
 905 
     | 
    
         
            +
            - spec/dummy/app/jobs/application_job.rb
         
     | 
| 
      
 906 
     | 
    
         
            +
            - spec/dummy/app/views/layouts/application.html.erb
         
     | 
| 
      
 907 
     | 
    
         
            +
            - spec/dummy/app/views/pages/show.html
         
     | 
| 
      
 908 
     | 
    
         
            +
            - spec/dummy/bin/bundle
         
     | 
| 
      
 909 
     | 
    
         
            +
            - spec/dummy/bin/rails
         
     | 
| 
       906 
910 
     | 
    
         
             
            - spec/dummy/bin/rake
         
     | 
| 
       907 
911 
     | 
    
         
             
            - spec/dummy/bin/setup
         
     | 
| 
       908 
     | 
    
         
            -
            - spec/dummy/bin/ 
     | 
| 
      
 912 
     | 
    
         
            +
            - spec/dummy/bin/update
         
     | 
| 
       909 
913 
     | 
    
         
             
            - spec/dummy/bin/yarn
         
     | 
| 
       910 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
       911 
     | 
    
         
            -
            - spec/dummy/config/ 
     | 
| 
       912 
     | 
    
         
            -
            - spec/dummy/config/routes.rb
         
     | 
| 
       913 
     | 
    
         
            -
            - spec/dummy/config/locales/en.yml
         
     | 
| 
      
 914 
     | 
    
         
            +
            - spec/dummy/config/application.rb
         
     | 
| 
      
 915 
     | 
    
         
            +
            - spec/dummy/config/boot.rb
         
     | 
| 
       914 
916 
     | 
    
         
             
            - spec/dummy/config/cable.yml
         
     | 
| 
       915 
     | 
    
         
            -
            - spec/dummy/config/ 
     | 
| 
      
 917 
     | 
    
         
            +
            - spec/dummy/config/environment.rb
         
     | 
| 
       916 
918 
     | 
    
         
             
            - spec/dummy/config/environments/development.rb
         
     | 
| 
      
 919 
     | 
    
         
            +
            - spec/dummy/config/environments/production.rb
         
     | 
| 
       917 
920 
     | 
    
         
             
            - spec/dummy/config/environments/test.rb
         
     | 
| 
       918 
     | 
    
         
            -
            - spec/dummy/config/environment.rb
         
     | 
| 
       919 
     | 
    
         
            -
            - spec/dummy/config/application.rb
         
     | 
| 
       920 
     | 
    
         
            -
            - spec/dummy/config/puma.rb
         
     | 
| 
       921 
     | 
    
         
            -
            - spec/dummy/config/boot.rb
         
     | 
| 
       922 
921 
     | 
    
         
             
            - spec/dummy/config/initializers/application_controller_renderer.rb
         
     | 
| 
       923 
922 
     | 
    
         
             
            - spec/dummy/config/initializers/backtrace_silencers.rb
         
     | 
| 
       924 
     | 
    
         
            -
            - spec/dummy/config/initializers/mime_types.rb
         
     | 
| 
       925 
     | 
    
         
            -
            - spec/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
       926 
     | 
    
         
            -
            - spec/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
       927 
923 
     | 
    
         
             
            - spec/dummy/config/initializers/cookies_serializer.rb
         
     | 
| 
      
 924 
     | 
    
         
            +
            - spec/dummy/config/initializers/filter_parameter_logging.rb
         
     | 
| 
       928 
925 
     | 
    
         
             
            - spec/dummy/config/initializers/inflections.rb
         
     | 
| 
      
 926 
     | 
    
         
            +
            - spec/dummy/config/initializers/mime_types.rb
         
     | 
| 
      
 927 
     | 
    
         
            +
            - spec/dummy/config/initializers/wrap_parameters.rb
         
     | 
| 
      
 928 
     | 
    
         
            +
            - spec/dummy/config/locales/en.yml
         
     | 
| 
      
 929 
     | 
    
         
            +
            - spec/dummy/config/puma.rb
         
     | 
| 
      
 930 
     | 
    
         
            +
            - spec/dummy/config/routes.rb
         
     | 
| 
      
 931 
     | 
    
         
            +
            - spec/dummy/config/secrets.yml
         
     | 
| 
       929 
932 
     | 
    
         
             
            - spec/dummy/config.ru
         
     | 
| 
       930 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
       931 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
       932 
     | 
    
         
            -
            - spec/dummy/public/ 
     | 
| 
      
 933 
     | 
    
         
            +
            - spec/dummy/Gemfile
         
     | 
| 
      
 934 
     | 
    
         
            +
            - spec/dummy/package.json
         
     | 
| 
      
 935 
     | 
    
         
            +
            - spec/dummy/public/404.html
         
     | 
| 
       933 
936 
     | 
    
         
             
            - spec/dummy/public/422.html
         
     | 
| 
       934 
     | 
    
         
            -
            - spec/dummy/public/apple-touch-icon.png
         
     | 
| 
       935 
937 
     | 
    
         
             
            - spec/dummy/public/500.html
         
     | 
| 
       936 
     | 
    
         
            -
            - spec/dummy/public/404.html
         
     | 
| 
       937 
938 
     | 
    
         
             
            - spec/dummy/public/apple-touch-icon-precomposed.png
         
     | 
| 
      
 939 
     | 
    
         
            +
            - spec/dummy/public/apple-touch-icon.png
         
     | 
| 
      
 940 
     | 
    
         
            +
            - spec/dummy/public/favicon.ico
         
     | 
| 
       938 
941 
     | 
    
         
             
            - spec/dummy/public/robots.txt
         
     | 
| 
       939 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
       940 
     | 
    
         
            -
            - spec/dummy/ 
     | 
| 
       941 
     | 
    
         
            -
            - spec/ 
     | 
| 
       942 
     | 
    
         
            -
            - spec/ 
     | 
| 
       943 
     | 
    
         
            -
            - spec/ 
     | 
| 
       944 
     | 
    
         
            -
            - spec/ 
     | 
| 
       945 
     | 
    
         
            -
            - spec/ 
     | 
| 
       946 
     | 
    
         
            -
            - spec/ 
     | 
| 
       947 
     | 
    
         
            -
            - spec/ 
     | 
| 
       948 
     | 
    
         
            -
            - spec/ 
     | 
| 
       949 
     | 
    
         
            -
            - spec/ 
     | 
| 
       950 
     | 
    
         
            -
            - spec/ 
     | 
| 
       951 
     | 
    
         
            -
            - spec/ 
     | 
| 
       952 
     | 
    
         
            -
            - spec/ 
     | 
| 
       953 
     | 
    
         
            -
            - spec/ 
     | 
| 
       954 
     | 
    
         
            -
            - spec/ 
     | 
| 
       955 
     | 
    
         
            -
            - spec/ 
     | 
| 
       956 
     | 
    
         
            -
            - spec/ 
     | 
| 
       957 
     | 
    
         
            -
            - spec/ 
     | 
| 
       958 
     | 
    
         
            -
            - spec/ 
     | 
| 
       959 
     | 
    
         
            -
            - spec/ 
     | 
| 
       960 
     | 
    
         
            -
            - spec/ 
     | 
| 
       961 
     | 
    
         
            -
            - spec/ 
     | 
| 
       962 
     | 
    
         
            -
            - spec/ 
     | 
| 
       963 
     | 
    
         
            -
            - spec/ 
     | 
| 
       964 
     | 
    
         
            -
            - spec/ 
     | 
| 
       965 
     | 
    
         
            -
            - spec/ 
     | 
| 
       966 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       967 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       968 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       969 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       970 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       971 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       972 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       973 
     | 
    
         
            -
            - spec/graphql/field_spec.rb
         
     | 
| 
       974 
     | 
    
         
            -
            - spec/graphql/analysis/max_query_depth_spec.rb
         
     | 
| 
       975 
     | 
    
         
            -
            - spec/graphql/analysis/max_query_complexity_spec.rb
         
     | 
| 
      
 942 
     | 
    
         
            +
            - spec/dummy/Rakefile
         
     | 
| 
      
 943 
     | 
    
         
            +
            - spec/dummy/README.md
         
     | 
| 
      
 944 
     | 
    
         
            +
            - spec/dummy/test/application_system_test_case.rb
         
     | 
| 
      
 945 
     | 
    
         
            +
            - spec/dummy/test/system/action_cable_subscription_test.rb
         
     | 
| 
      
 946 
     | 
    
         
            +
            - spec/dummy/test/test_helper.rb
         
     | 
| 
      
 947 
     | 
    
         
            +
            - spec/fixtures/upgrader/account.original.rb
         
     | 
| 
      
 948 
     | 
    
         
            +
            - spec/fixtures/upgrader/account.transformed.rb
         
     | 
| 
      
 949 
     | 
    
         
            +
            - spec/fixtures/upgrader/blame_range.original.rb
         
     | 
| 
      
 950 
     | 
    
         
            +
            - spec/fixtures/upgrader/blame_range.transformed.rb
         
     | 
| 
      
 951 
     | 
    
         
            +
            - spec/fixtures/upgrader/date_time.original.rb
         
     | 
| 
      
 952 
     | 
    
         
            +
            - spec/fixtures/upgrader/date_time.transformed.rb
         
     | 
| 
      
 953 
     | 
    
         
            +
            - spec/fixtures/upgrader/delete_project.original.rb
         
     | 
| 
      
 954 
     | 
    
         
            +
            - spec/fixtures/upgrader/delete_project.transformed.rb
         
     | 
| 
      
 955 
     | 
    
         
            +
            - spec/fixtures/upgrader/gist_order_field.original.rb
         
     | 
| 
      
 956 
     | 
    
         
            +
            - spec/fixtures/upgrader/gist_order_field.transformed.rb
         
     | 
| 
      
 957 
     | 
    
         
            +
            - spec/fixtures/upgrader/increment_count.original.rb
         
     | 
| 
      
 958 
     | 
    
         
            +
            - spec/fixtures/upgrader/increment_count.transformed.rb
         
     | 
| 
      
 959 
     | 
    
         
            +
            - spec/fixtures/upgrader/photo.original.rb
         
     | 
| 
      
 960 
     | 
    
         
            +
            - spec/fixtures/upgrader/photo.transformed.rb
         
     | 
| 
      
 961 
     | 
    
         
            +
            - spec/fixtures/upgrader/release_order.original.rb
         
     | 
| 
      
 962 
     | 
    
         
            +
            - spec/fixtures/upgrader/release_order.transformed.rb
         
     | 
| 
      
 963 
     | 
    
         
            +
            - spec/fixtures/upgrader/starrable.original.rb
         
     | 
| 
      
 964 
     | 
    
         
            +
            - spec/fixtures/upgrader/starrable.transformed.rb
         
     | 
| 
      
 965 
     | 
    
         
            +
            - spec/fixtures/upgrader/subscribable.original.rb
         
     | 
| 
      
 966 
     | 
    
         
            +
            - spec/fixtures/upgrader/subscribable.transformed.rb
         
     | 
| 
      
 967 
     | 
    
         
            +
            - spec/fixtures/upgrader/type_x.original.rb
         
     | 
| 
      
 968 
     | 
    
         
            +
            - spec/fixtures/upgrader/type_x.transformed.rb
         
     | 
| 
      
 969 
     | 
    
         
            +
            - spec/generators/graphql/enum_generator_spec.rb
         
     | 
| 
      
 970 
     | 
    
         
            +
            - spec/generators/graphql/install_generator_spec.rb
         
     | 
| 
      
 971 
     | 
    
         
            +
            - spec/generators/graphql/interface_generator_spec.rb
         
     | 
| 
      
 972 
     | 
    
         
            +
            - spec/generators/graphql/loader_generator_spec.rb
         
     | 
| 
      
 973 
     | 
    
         
            +
            - spec/generators/graphql/mutation_generator_spec.rb
         
     | 
| 
      
 974 
     | 
    
         
            +
            - spec/generators/graphql/object_generator_spec.rb
         
     | 
| 
      
 975 
     | 
    
         
            +
            - spec/generators/graphql/union_generator_spec.rb
         
     | 
| 
       976 
976 
     | 
    
         
             
            - spec/graphql/analysis/analyze_query_spec.rb
         
     | 
| 
       977 
     | 
    
         
            -
            - spec/graphql/analysis/query_depth_spec.rb
         
     | 
| 
       978 
977 
     | 
    
         
             
            - spec/graphql/analysis/field_usage_spec.rb
         
     | 
| 
      
 978 
     | 
    
         
            +
            - spec/graphql/analysis/max_query_complexity_spec.rb
         
     | 
| 
      
 979 
     | 
    
         
            +
            - spec/graphql/analysis/max_query_depth_spec.rb
         
     | 
| 
       979 
980 
     | 
    
         
             
            - spec/graphql/analysis/query_complexity_spec.rb
         
     | 
| 
      
 981 
     | 
    
         
            +
            - spec/graphql/analysis/query_depth_spec.rb
         
     | 
| 
      
 982 
     | 
    
         
            +
            - spec/graphql/argument_spec.rb
         
     | 
| 
      
 983 
     | 
    
         
            +
            - spec/graphql/authorization_spec.rb
         
     | 
| 
       980 
984 
     | 
    
         
             
            - spec/graphql/backtrace_spec.rb
         
     | 
| 
       981 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       982 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
      
 985 
     | 
    
         
            +
            - spec/graphql/base_type_spec.rb
         
     | 
| 
      
 986 
     | 
    
         
            +
            - spec/graphql/boolean_type_spec.rb
         
     | 
| 
      
 987 
     | 
    
         
            +
            - spec/graphql/compatibility/execution_specification_spec.rb
         
     | 
| 
      
 988 
     | 
    
         
            +
            - spec/graphql/compatibility/lazy_execution_specification_spec.rb
         
     | 
| 
      
 989 
     | 
    
         
            +
            - spec/graphql/compatibility/query_parser_specification_spec.rb
         
     | 
| 
      
 990 
     | 
    
         
            +
            - spec/graphql/compatibility/schema_parser_specification_spec.rb
         
     | 
| 
       983 
991 
     | 
    
         
             
            - spec/graphql/define/assign_argument_spec.rb
         
     | 
| 
      
 992 
     | 
    
         
            +
            - spec/graphql/define/instance_definable_spec.rb
         
     | 
| 
      
 993 
     | 
    
         
            +
            - spec/graphql/directive/skip_directive_spec.rb
         
     | 
| 
      
 994 
     | 
    
         
            +
            - spec/graphql/directive_spec.rb
         
     | 
| 
      
 995 
     | 
    
         
            +
            - spec/graphql/enum_type_spec.rb
         
     | 
| 
      
 996 
     | 
    
         
            +
            - spec/graphql/execution/execute_spec.rb
         
     | 
| 
      
 997 
     | 
    
         
            +
            - spec/graphql/execution/instrumentation_spec.rb
         
     | 
| 
      
 998 
     | 
    
         
            +
            - spec/graphql/execution/lazy/lazy_method_map_spec.rb
         
     | 
| 
      
 999 
     | 
    
         
            +
            - spec/graphql/execution/lazy_spec.rb
         
     | 
| 
      
 1000 
     | 
    
         
            +
            - spec/graphql/execution/multiplex_spec.rb
         
     | 
| 
      
 1001 
     | 
    
         
            +
            - spec/graphql/execution/typecast_spec.rb
         
     | 
| 
      
 1002 
     | 
    
         
            +
            - spec/graphql/execution_error_spec.rb
         
     | 
| 
      
 1003 
     | 
    
         
            +
            - spec/graphql/field_spec.rb
         
     | 
| 
      
 1004 
     | 
    
         
            +
            - spec/graphql/float_type_spec.rb
         
     | 
| 
      
 1005 
     | 
    
         
            +
            - spec/graphql/function_spec.rb
         
     | 
| 
      
 1006 
     | 
    
         
            +
            - spec/graphql/id_type_spec.rb
         
     | 
| 
       984 
1007 
     | 
    
         
             
            - spec/graphql/input_object_type_spec.rb
         
     | 
| 
       985 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       986 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       987 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       988 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       989 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       990 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       991 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       992 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       993 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       994 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       995 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/variable_names_are_unique_spec.rb
         
     | 
| 
       996 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/unique_directives_per_location_spec.rb
         
     | 
| 
       997 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/directives_are_in_valid_locations_spec.rb
         
     | 
| 
       998 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/fragments_are_named_spec.rb
         
     | 
| 
       999 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/required_arguments_are_present_spec.rb
         
     | 
| 
       1000 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/fragments_are_on_composite_types_spec.rb
         
     | 
| 
       1001 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/variable_usages_are_allowed_spec.rb
         
     | 
| 
       1002 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/subscription_root_exists_spec.rb
         
     | 
| 
       1003 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/fields_are_defined_on_type_spec.rb
         
     | 
| 
       1004 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/fields_will_merge_spec.rb
         
     | 
| 
       1005 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/operation_names_are_valid_spec.rb
         
     | 
| 
       1006 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/argument_names_are_unique_spec.rb
         
     | 
| 
       1007 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/argument_literals_are_compatible_spec.rb
         
     | 
| 
       1008 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/directives_are_defined_spec.rb
         
     | 
| 
       1009 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/variables_are_input_types_spec.rb
         
     | 
| 
       1010 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/fragment_spreads_are_possible_spec.rb
         
     | 
| 
       1011 
     | 
    
         
            -
            - spec/graphql/static_validation/rules/fragments_are_used_spec.rb
         
     | 
| 
       1012 
     | 
    
         
            -
            - spec/graphql/static_validation/type_stack_spec.rb
         
     | 
| 
       1013 
     | 
    
         
            -
            - spec/graphql/list_type_spec.rb
         
     | 
| 
       1014 
     | 
    
         
            -
            - spec/graphql/authorization_spec.rb
         
     | 
| 
      
 1008 
     | 
    
         
            +
            - spec/graphql/int_type_spec.rb
         
     | 
| 
      
 1009 
     | 
    
         
            +
            - spec/graphql/interface_type_spec.rb
         
     | 
| 
      
 1010 
     | 
    
         
            +
            - spec/graphql/internal_representation/print_spec.rb
         
     | 
| 
      
 1011 
     | 
    
         
            +
            - spec/graphql/internal_representation/rewrite_spec.rb
         
     | 
| 
      
 1012 
     | 
    
         
            +
            - spec/graphql/introspection/directive_type_spec.rb
         
     | 
| 
      
 1013 
     | 
    
         
            +
            - spec/graphql/introspection/input_value_type_spec.rb
         
     | 
| 
      
 1014 
     | 
    
         
            +
            - spec/graphql/introspection/introspection_query_spec.rb
         
     | 
| 
      
 1015 
     | 
    
         
            +
            - spec/graphql/introspection/schema_type_spec.rb
         
     | 
| 
      
 1016 
     | 
    
         
            +
            - spec/graphql/introspection/type_type_spec.rb
         
     | 
| 
      
 1017 
     | 
    
         
            +
            - spec/graphql/language/block_string_spec.rb
         
     | 
| 
       1015 
1018 
     | 
    
         
             
            - spec/graphql/language/definition_slice_spec.rb
         
     | 
| 
       1016 
1019 
     | 
    
         
             
            - spec/graphql/language/document_from_schema_definition_spec.rb
         
     | 
| 
      
 1020 
     | 
    
         
            +
            - spec/graphql/language/equality_spec.rb
         
     | 
| 
      
 1021 
     | 
    
         
            +
            - spec/graphql/language/generation_spec.rb
         
     | 
| 
      
 1022 
     | 
    
         
            +
            - spec/graphql/language/lexer_spec.rb
         
     | 
| 
      
 1023 
     | 
    
         
            +
            - spec/graphql/language/nodes_spec.rb
         
     | 
| 
       1017 
1024 
     | 
    
         
             
            - spec/graphql/language/parser_spec.rb
         
     | 
| 
       1018 
1025 
     | 
    
         
             
            - spec/graphql/language/printer_spec.rb
         
     | 
| 
       1019 
     | 
    
         
            -
            - spec/graphql/language/generation_spec.rb
         
     | 
| 
       1020 
1026 
     | 
    
         
             
            - spec/graphql/language/visitor_spec.rb
         
     | 
| 
       1021 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       1022 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       1023 
     | 
    
         
            -
            - spec/graphql/language/block_string_spec.rb
         
     | 
| 
       1024 
     | 
    
         
            -
            - spec/graphql/language/lexer_spec.rb
         
     | 
| 
       1025 
     | 
    
         
            -
            - spec/graphql/introspection/introspection_query_spec.rb
         
     | 
| 
       1026 
     | 
    
         
            -
            - spec/graphql/introspection/input_value_type_spec.rb
         
     | 
| 
       1027 
     | 
    
         
            -
            - spec/graphql/introspection/schema_type_spec.rb
         
     | 
| 
       1028 
     | 
    
         
            -
            - spec/graphql/introspection/directive_type_spec.rb
         
     | 
| 
       1029 
     | 
    
         
            -
            - spec/graphql/introspection/type_type_spec.rb
         
     | 
| 
       1030 
     | 
    
         
            -
            - spec/graphql/directive_spec.rb
         
     | 
| 
      
 1027 
     | 
    
         
            +
            - spec/graphql/list_type_spec.rb
         
     | 
| 
      
 1028 
     | 
    
         
            +
            - spec/graphql/non_null_type_spec.rb
         
     | 
| 
       1031 
1029 
     | 
    
         
             
            - spec/graphql/object_type_spec.rb
         
     | 
| 
       1032 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       1033 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
      
 1030 
     | 
    
         
            +
            - spec/graphql/query/arguments_spec.rb
         
     | 
| 
      
 1031 
     | 
    
         
            +
            - spec/graphql/query/context_spec.rb
         
     | 
| 
      
 1032 
     | 
    
         
            +
            - spec/graphql/query/executor_spec.rb
         
     | 
| 
      
 1033 
     | 
    
         
            +
            - spec/graphql/query/literal_input_spec.rb
         
     | 
| 
      
 1034 
     | 
    
         
            +
            - spec/graphql/query/result_spec.rb
         
     | 
| 
      
 1035 
     | 
    
         
            +
            - spec/graphql/query/serial_execution/value_resolution_spec.rb
         
     | 
| 
      
 1036 
     | 
    
         
            +
            - spec/graphql/query/variables_spec.rb
         
     | 
| 
      
 1037 
     | 
    
         
            +
            - spec/graphql/query_spec.rb
         
     | 
| 
      
 1038 
     | 
    
         
            +
            - spec/graphql/rake_task_spec.rb
         
     | 
| 
      
 1039 
     | 
    
         
            +
            - spec/graphql/relay/array_connection_spec.rb
         
     | 
| 
      
 1040 
     | 
    
         
            +
            - spec/graphql/relay/base_connection_spec.rb
         
     | 
| 
      
 1041 
     | 
    
         
            +
            - spec/graphql/relay/connection_instrumentation_spec.rb
         
     | 
| 
      
 1042 
     | 
    
         
            +
            - spec/graphql/relay/connection_resolve_spec.rb
         
     | 
| 
      
 1043 
     | 
    
         
            +
            - spec/graphql/relay/connection_type_spec.rb
         
     | 
| 
      
 1044 
     | 
    
         
            +
            - spec/graphql/relay/edge_spec.rb
         
     | 
| 
      
 1045 
     | 
    
         
            +
            - spec/graphql/relay/mongo_relation_connection_spec.rb
         
     | 
| 
      
 1046 
     | 
    
         
            +
            - spec/graphql/relay/mutation_spec.rb
         
     | 
| 
      
 1047 
     | 
    
         
            +
            - spec/graphql/relay/node_spec.rb
         
     | 
| 
      
 1048 
     | 
    
         
            +
            - spec/graphql/relay/page_info_spec.rb
         
     | 
| 
      
 1049 
     | 
    
         
            +
            - spec/graphql/relay/range_add_spec.rb
         
     | 
| 
      
 1050 
     | 
    
         
            +
            - spec/graphql/relay/relation_connection_spec.rb
         
     | 
| 
      
 1051 
     | 
    
         
            +
            - spec/graphql/scalar_type_spec.rb
         
     | 
| 
      
 1052 
     | 
    
         
            +
            - spec/graphql/schema/argument_spec.rb
         
     | 
| 
      
 1053 
     | 
    
         
            +
            - spec/graphql/schema/build_from_definition_spec.rb
         
     | 
| 
       1034 
1054 
     | 
    
         
             
            - spec/graphql/schema/catchall_middleware_spec.rb
         
     | 
| 
       1035 
     | 
    
         
            -
            - spec/graphql/schema/ 
     | 
| 
       1036 
     | 
    
         
            -
            - spec/graphql/schema/warden_spec.rb
         
     | 
| 
       1037 
     | 
    
         
            -
            - spec/graphql/schema/loader_spec.rb
         
     | 
| 
       1038 
     | 
    
         
            -
            - spec/graphql/schema/unique_within_type_spec.rb
         
     | 
| 
       1039 
     | 
    
         
            -
            - spec/graphql/schema/field_spec.rb
         
     | 
| 
       1040 
     | 
    
         
            -
            - spec/graphql/schema/validation_spec.rb
         
     | 
| 
      
 1055 
     | 
    
         
            +
            - spec/graphql/schema/enum_spec.rb
         
     | 
| 
       1041 
1056 
     | 
    
         
             
            - spec/graphql/schema/enum_value_spec.rb
         
     | 
| 
       1042 
     | 
    
         
            -
            - spec/graphql/schema/ 
     | 
| 
       1043 
     | 
    
         
            -
            - spec/graphql/schema/object_spec.rb
         
     | 
| 
       1044 
     | 
    
         
            -
            - spec/graphql/schema/middleware_chain_spec.rb
         
     | 
| 
       1045 
     | 
    
         
            -
            - spec/graphql/schema/build_from_definition_spec.rb
         
     | 
| 
      
 1057 
     | 
    
         
            +
            - spec/graphql/schema/field_spec.rb
         
     | 
| 
       1046 
1058 
     | 
    
         
             
            - spec/graphql/schema/finder_spec.rb
         
     | 
| 
       1047 
     | 
    
         
            -
            - spec/graphql/schema/ 
     | 
| 
       1048 
     | 
    
         
            -
            - spec/graphql/schema/ 
     | 
| 
      
 1059 
     | 
    
         
            +
            - spec/graphql/schema/input_object_spec.rb
         
     | 
| 
      
 1060 
     | 
    
         
            +
            - spec/graphql/schema/instrumentation_spec.rb
         
     | 
| 
      
 1061 
     | 
    
         
            +
            - spec/graphql/schema/interface_spec.rb
         
     | 
| 
      
 1062 
     | 
    
         
            +
            - spec/graphql/schema/introspection_system_spec.rb
         
     | 
| 
      
 1063 
     | 
    
         
            +
            - spec/graphql/schema/list_spec.rb
         
     | 
| 
      
 1064 
     | 
    
         
            +
            - spec/graphql/schema/loader_spec.rb
         
     | 
| 
       1049 
1065 
     | 
    
         
             
            - spec/graphql/schema/member/accepts_definition_spec.rb
         
     | 
| 
       1050 
1066 
     | 
    
         
             
            - spec/graphql/schema/member/build_type_spec.rb
         
     | 
| 
       1051 
1067 
     | 
    
         
             
            - spec/graphql/schema/member/has_fields_spec.rb
         
     | 
| 
       1052 
     | 
    
         
            -
            - spec/graphql/schema/ 
     | 
| 
      
 1068 
     | 
    
         
            +
            - spec/graphql/schema/member/scoped_spec.rb
         
     | 
| 
      
 1069 
     | 
    
         
            +
            - spec/graphql/schema/member/type_system_helpers_spec.rb
         
     | 
| 
      
 1070 
     | 
    
         
            +
            - spec/graphql/schema/middleware_chain_spec.rb
         
     | 
| 
      
 1071 
     | 
    
         
            +
            - spec/graphql/schema/mutation_spec.rb
         
     | 
| 
      
 1072 
     | 
    
         
            +
            - spec/graphql/schema/non_null_spec.rb
         
     | 
| 
      
 1073 
     | 
    
         
            +
            - spec/graphql/schema/object_spec.rb
         
     | 
| 
      
 1074 
     | 
    
         
            +
            - spec/graphql/schema/printer_spec.rb
         
     | 
| 
      
 1075 
     | 
    
         
            +
            - spec/graphql/schema/relay_classic_mutation_spec.rb
         
     | 
| 
      
 1076 
     | 
    
         
            +
            - spec/graphql/schema/rescue_middleware_spec.rb
         
     | 
| 
      
 1077 
     | 
    
         
            +
            - spec/graphql/schema/resolver_spec.rb
         
     | 
| 
      
 1078 
     | 
    
         
            +
            - spec/graphql/schema/scalar_spec.rb
         
     | 
| 
       1053 
1079 
     | 
    
         
             
            - spec/graphql/schema/timeout_middleware_spec.rb
         
     | 
| 
       1054 
1080 
     | 
    
         
             
            - spec/graphql/schema/traversal_spec.rb
         
     | 
| 
       1055 
1081 
     | 
    
         
             
            - spec/graphql/schema/type_expression_spec.rb
         
     | 
| 
       1056 
     | 
    
         
            -
            - spec/graphql/schema/input_object_spec.rb
         
     | 
| 
       1057 
     | 
    
         
            -
            - spec/graphql/schema/printer_spec.rb
         
     | 
| 
       1058 
     | 
    
         
            -
            - spec/graphql/schema/mutation_spec.rb
         
     | 
| 
       1059 
     | 
    
         
            -
            - spec/graphql/schema/resolver_spec.rb
         
     | 
| 
       1060 
     | 
    
         
            -
            - spec/graphql/schema/relay_classic_mutation_spec.rb
         
     | 
| 
       1061 
     | 
    
         
            -
            - spec/graphql/schema/introspection_system_spec.rb
         
     | 
| 
       1062 
     | 
    
         
            -
            - spec/graphql/schema/argument_spec.rb
         
     | 
| 
       1063 
1082 
     | 
    
         
             
            - spec/graphql/schema/union_spec.rb
         
     | 
| 
       1064 
     | 
    
         
            -
            - spec/graphql/schema/ 
     | 
| 
       1065 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       1066 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       1067 
     | 
    
         
            -
            - spec/graphql/base_type_spec.rb
         
     | 
| 
       1068 
     | 
    
         
            -
            - spec/graphql/execution/execute_spec.rb
         
     | 
| 
       1069 
     | 
    
         
            -
            - spec/graphql/execution/instrumentation_spec.rb
         
     | 
| 
       1070 
     | 
    
         
            -
            - spec/graphql/execution/multiplex_spec.rb
         
     | 
| 
       1071 
     | 
    
         
            -
            - spec/graphql/execution/typecast_spec.rb
         
     | 
| 
       1072 
     | 
    
         
            -
            - spec/graphql/execution/lazy/lazy_method_map_spec.rb
         
     | 
| 
       1073 
     | 
    
         
            -
            - spec/graphql/execution/lazy_spec.rb
         
     | 
| 
       1074 
     | 
    
         
            -
            - spec/graphql/upgrader/schema_spec.rb
         
     | 
| 
       1075 
     | 
    
         
            -
            - spec/graphql/upgrader/member_spec.rb
         
     | 
| 
       1076 
     | 
    
         
            -
            - spec/graphql/internal_representation/print_spec.rb
         
     | 
| 
       1077 
     | 
    
         
            -
            - spec/graphql/internal_representation/rewrite_spec.rb
         
     | 
| 
       1078 
     | 
    
         
            -
            - spec/graphql/tracing_spec.rb
         
     | 
| 
       1079 
     | 
    
         
            -
            - spec/graphql/scalar_type_spec.rb
         
     | 
| 
       1080 
     | 
    
         
            -
            - spec/graphql/argument_spec.rb
         
     | 
| 
       1081 
     | 
    
         
            -
            - spec/graphql/interface_type_spec.rb
         
     | 
| 
       1082 
     | 
    
         
            -
            - spec/graphql/relay/node_spec.rb
         
     | 
| 
       1083 
     | 
    
         
            -
            - spec/graphql/relay/connection_resolve_spec.rb
         
     | 
| 
       1084 
     | 
    
         
            -
            - spec/graphql/relay/range_add_spec.rb
         
     | 
| 
       1085 
     | 
    
         
            -
            - spec/graphql/relay/connection_instrumentation_spec.rb
         
     | 
| 
       1086 
     | 
    
         
            -
            - spec/graphql/relay/edge_spec.rb
         
     | 
| 
       1087 
     | 
    
         
            -
            - spec/graphql/relay/array_connection_spec.rb
         
     | 
| 
       1088 
     | 
    
         
            -
            - spec/graphql/relay/relation_connection_spec.rb
         
     | 
| 
       1089 
     | 
    
         
            -
            - spec/graphql/relay/connection_type_spec.rb
         
     | 
| 
       1090 
     | 
    
         
            -
            - spec/graphql/relay/mongo_relation_connection_spec.rb
         
     | 
| 
       1091 
     | 
    
         
            -
            - spec/graphql/relay/mutation_spec.rb
         
     | 
| 
       1092 
     | 
    
         
            -
            - spec/graphql/relay/base_connection_spec.rb
         
     | 
| 
       1093 
     | 
    
         
            -
            - spec/graphql/relay/page_info_spec.rb
         
     | 
| 
       1094 
     | 
    
         
            -
            - spec/graphql/function_spec.rb
         
     | 
| 
       1095 
     | 
    
         
            -
            - spec/graphql/query_spec.rb
         
     | 
| 
       1096 
     | 
    
         
            -
            - spec/graphql/query/variables_spec.rb
         
     | 
| 
       1097 
     | 
    
         
            -
            - spec/graphql/query/context_spec.rb
         
     | 
| 
       1098 
     | 
    
         
            -
            - spec/graphql/query/serial_execution/value_resolution_spec.rb
         
     | 
| 
       1099 
     | 
    
         
            -
            - spec/graphql/query/result_spec.rb
         
     | 
| 
       1100 
     | 
    
         
            -
            - spec/graphql/query/literal_input_spec.rb
         
     | 
| 
       1101 
     | 
    
         
            -
            - spec/graphql/query/executor_spec.rb
         
     | 
| 
       1102 
     | 
    
         
            -
            - spec/graphql/query/arguments_spec.rb
         
     | 
| 
       1103 
     | 
    
         
            -
            - spec/graphql/string_type_spec.rb
         
     | 
| 
      
 1083 
     | 
    
         
            +
            - spec/graphql/schema/unique_within_type_spec.rb
         
     | 
| 
      
 1084 
     | 
    
         
            +
            - spec/graphql/schema/validation_spec.rb
         
     | 
| 
      
 1085 
     | 
    
         
            +
            - spec/graphql/schema/warden_spec.rb
         
     | 
| 
       1104 
1086 
     | 
    
         
             
            - spec/graphql/schema_spec.rb
         
     | 
| 
       1105 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
      
 1087 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/argument_literals_are_compatible_spec.rb
         
     | 
| 
      
 1088 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/argument_names_are_unique_spec.rb
         
     | 
| 
      
 1089 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/arguments_are_defined_spec.rb
         
     | 
| 
      
 1090 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/directives_are_defined_spec.rb
         
     | 
| 
      
 1091 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/directives_are_in_valid_locations_spec.rb
         
     | 
| 
      
 1092 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fields_are_defined_on_type_spec.rb
         
     | 
| 
      
 1093 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fields_have_appropriate_selections_spec.rb
         
     | 
| 
      
 1094 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fields_will_merge_spec.rb
         
     | 
| 
      
 1095 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fragment_names_are_unique_spec.rb
         
     | 
| 
      
 1096 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fragment_spreads_are_possible_spec.rb
         
     | 
| 
      
 1097 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fragment_types_exist_spec.rb
         
     | 
| 
      
 1098 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fragments_are_finite_spec.rb
         
     | 
| 
      
 1099 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fragments_are_named_spec.rb
         
     | 
| 
      
 1100 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fragments_are_on_composite_types_spec.rb
         
     | 
| 
      
 1101 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/fragments_are_used_spec.rb
         
     | 
| 
      
 1102 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/mutation_root_exists_spec.rb
         
     | 
| 
      
 1103 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/no_definitions_are_present_spec.rb
         
     | 
| 
      
 1104 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/operation_names_are_valid_spec.rb
         
     | 
| 
      
 1105 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/required_arguments_are_present_spec.rb
         
     | 
| 
      
 1106 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/subscription_root_exists_spec.rb
         
     | 
| 
      
 1107 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/unique_directives_per_location_spec.rb
         
     | 
| 
      
 1108 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/variable_default_values_are_correctly_typed_spec.rb
         
     | 
| 
      
 1109 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/variable_names_are_unique_spec.rb
         
     | 
| 
      
 1110 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/variable_usages_are_allowed_spec.rb
         
     | 
| 
      
 1111 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/variables_are_input_types_spec.rb
         
     | 
| 
      
 1112 
     | 
    
         
            +
            - spec/graphql/static_validation/rules/variables_are_used_and_defined_spec.rb
         
     | 
| 
      
 1113 
     | 
    
         
            +
            - spec/graphql/static_validation/type_stack_spec.rb
         
     | 
| 
      
 1114 
     | 
    
         
            +
            - spec/graphql/static_validation/validator_spec.rb
         
     | 
| 
      
 1115 
     | 
    
         
            +
            - spec/graphql/string_type_spec.rb
         
     | 
| 
      
 1116 
     | 
    
         
            +
            - spec/graphql/subscriptions/serialize_spec.rb
         
     | 
| 
       1106 
1117 
     | 
    
         
             
            - spec/graphql/subscriptions_spec.rb
         
     | 
| 
       1107 
     | 
    
         
            -
            - spec/graphql/ 
     | 
| 
       1108 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1109 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1110 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1111 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1112 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1113 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1114 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1115 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1116 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1117 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1118 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1119 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1120 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1121 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1122 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1123 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1124 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1125 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1126 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1127 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1128 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1129 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1130 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1131 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1132 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1133 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1134 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1135 
     | 
    
         
            -
            - spec/ 
     | 
| 
       1136 
     | 
    
         
            -
            - spec/ 
     | 
| 
      
 1118 
     | 
    
         
            +
            - spec/graphql/tracing/active_support_notifications_tracing_spec.rb
         
     | 
| 
      
 1119 
     | 
    
         
            +
            - spec/graphql/tracing/new_relic_tracing_spec.rb
         
     | 
| 
      
 1120 
     | 
    
         
            +
            - spec/graphql/tracing/platform_tracing_spec.rb
         
     | 
| 
      
 1121 
     | 
    
         
            +
            - spec/graphql/tracing/prometheus_tracing_spec.rb
         
     | 
| 
      
 1122 
     | 
    
         
            +
            - spec/graphql/tracing/scout_tracing_spec.rb
         
     | 
| 
      
 1123 
     | 
    
         
            +
            - spec/graphql/tracing/skylight_tracing_spec.rb
         
     | 
| 
      
 1124 
     | 
    
         
            +
            - spec/graphql/tracing_spec.rb
         
     | 
| 
      
 1125 
     | 
    
         
            +
            - spec/graphql/types/iso_8601_date_time_spec.rb
         
     | 
| 
      
 1126 
     | 
    
         
            +
            - spec/graphql/union_type_spec.rb
         
     | 
| 
      
 1127 
     | 
    
         
            +
            - spec/graphql/upgrader/member_spec.rb
         
     | 
| 
      
 1128 
     | 
    
         
            +
            - spec/graphql/upgrader/schema_spec.rb
         
     | 
| 
      
 1129 
     | 
    
         
            +
            - spec/rails_dependency_sanity_spec.rb
         
     | 
| 
      
 1130 
     | 
    
         
            +
            - spec/spec_helper.rb
         
     | 
| 
      
 1131 
     | 
    
         
            +
            - spec/support/base_generator_test.rb
         
     | 
| 
      
 1132 
     | 
    
         
            +
            - spec/support/dummy/data.rb
         
     | 
| 
      
 1133 
     | 
    
         
            +
            - spec/support/dummy/schema.rb
         
     | 
| 
      
 1134 
     | 
    
         
            +
            - spec/support/global_id.rb
         
     | 
| 
      
 1135 
     | 
    
         
            +
            - spec/support/jazz.rb
         
     | 
| 
      
 1136 
     | 
    
         
            +
            - spec/support/lazy_helpers.rb
         
     | 
| 
      
 1137 
     | 
    
         
            +
            - spec/support/magic_cards/schema.graphql
         
     | 
| 
      
 1138 
     | 
    
         
            +
            - spec/support/minimum_input_object.rb
         
     | 
| 
      
 1139 
     | 
    
         
            +
            - spec/support/new_relic.rb
         
     | 
| 
      
 1140 
     | 
    
         
            +
            - spec/support/parser/filename_example.graphql
         
     | 
| 
      
 1141 
     | 
    
         
            +
            - spec/support/parser/filename_example_error_1.graphql
         
     | 
| 
      
 1142 
     | 
    
         
            +
            - spec/support/parser/filename_example_error_2.graphql
         
     | 
| 
      
 1143 
     | 
    
         
            +
            - spec/support/skylight.rb
         
     | 
| 
      
 1144 
     | 
    
         
            +
            - spec/support/star_trek/data.rb
         
     | 
| 
      
 1145 
     | 
    
         
            +
            - spec/support/star_trek/schema.rb
         
     | 
| 
      
 1146 
     | 
    
         
            +
            - spec/support/star_wars/data.rb
         
     | 
| 
      
 1147 
     | 
    
         
            +
            - spec/support/star_wars/schema.rb
         
     | 
| 
      
 1148 
     | 
    
         
            +
            - spec/support/static_validation_helpers.rb
         
     |