graphql 1.8.8 → 1.8.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/base_type.rb +1 -1
- data/lib/graphql/compatibility/execution_specification/specification_schema.rb +1 -2
- data/lib/graphql/enum_type.rb +4 -0
- data/lib/graphql/execution/execute.rb +2 -2
- data/lib/graphql/field.rb +1 -7
- data/lib/graphql/schema.rb +25 -3
- data/lib/graphql/schema/argument.rb +3 -4
- data/lib/graphql/schema/field.rb +19 -4
- data/lib/graphql/types/iso_8601_date_time.rb +15 -1
- data/lib/graphql/version.rb +1 -1
- data/readme.md +1 -1
- data/spec/graphql/analysis/analyze_query_spec.rb +1 -1
- data/spec/graphql/base_type_spec.rb +3 -3
- data/spec/graphql/enum_type_spec.rb +1 -1
- data/spec/graphql/execution/lazy_spec.rb +18 -1
- data/spec/graphql/execution/typecast_spec.rb +20 -20
- data/spec/graphql/field_spec.rb +1 -1
- data/spec/graphql/input_object_type_spec.rb +25 -0
- data/spec/graphql/interface_type_spec.rb +4 -4
- data/spec/graphql/introspection/input_value_type_spec.rb +1 -1
- data/spec/graphql/object_type_spec.rb +32 -27
- data/spec/graphql/query/executor_spec.rb +2 -2
- data/spec/graphql/schema/argument_spec.rb +27 -0
- data/spec/graphql/schema/field_spec.rb +16 -0
- data/spec/graphql/schema/interface_spec.rb +2 -2
- data/spec/graphql/schema/relay_classic_mutation_spec.rb +36 -0
- data/spec/graphql/schema/traversal_spec.rb +10 -10
- data/spec/graphql/schema/type_expression_spec.rb +2 -2
- data/spec/graphql/schema/validation_spec.rb +1 -1
- data/spec/graphql/types/iso_8601_date_time_spec.rb +25 -0
- data/spec/graphql/union_type_spec.rb +2 -2
- data/spec/integration/rails/graphql/input_object_type_spec.rb +4 -4
- data/spec/integration/rails/graphql/query/variables_spec.rb +7 -7
- data/spec/integration/rails/graphql/schema_spec.rb +6 -5
- data/spec/integration/tmp/app/graphql/types/page_type.rb +4 -0
- data/spec/support/dummy/data.rb +20 -17
- data/spec/support/dummy/schema.rb +271 -281
- data/spec/support/jazz.rb +45 -0
- data/spec/support/lazy_helpers.rb +13 -4
- metadata +216 -212
data/spec/support/jazz.rb
CHANGED
@@ -61,6 +61,7 @@ module Jazz
|
|
61
61
|
# A custom field class that supports the `upcase:` option
|
62
62
|
class BaseField < GraphQL::Schema::Field
|
63
63
|
argument_class BaseArgument
|
64
|
+
attr_reader :upcase
|
64
65
|
def initialize(*args, **options, &block)
|
65
66
|
@upcase = options.delete(:upcase)
|
66
67
|
super(*args, **options, &block)
|
@@ -350,6 +351,14 @@ module Jazz
|
|
350
351
|
argument :input, [RawJson], required: true
|
351
352
|
end
|
352
353
|
|
354
|
+
field :upcase_check_1, String, null: true, method: :upcase_check, extras: [:upcase]
|
355
|
+
field :upcase_check_2, String, null: false, upcase: false, method: :upcase_check, extras: [:upcase]
|
356
|
+
field :upcase_check_3, String, null: false, upcase: true, method: :upcase_check, extras: [:upcase]
|
357
|
+
field :upcase_check_4, String, null: false, upcase: "why not?", method: :upcase_check, extras: [:upcase]
|
358
|
+
def upcase_check(upcase:)
|
359
|
+
upcase.inspect
|
360
|
+
end
|
361
|
+
|
353
362
|
def ensembles
|
354
363
|
# Filter out the unauthorized one to avoid an error later
|
355
364
|
Models.data["Ensemble"].select { |e| e.name != "Spinal Tap" }
|
@@ -472,6 +481,40 @@ module Jazz
|
|
472
481
|
end
|
473
482
|
end
|
474
483
|
|
484
|
+
class RenameNamedEntity < GraphQL::Schema::RelayClassicMutation
|
485
|
+
argument :named_entity_id, ID, required: true, loads: NamedEntity
|
486
|
+
argument :new_name, String, required: true
|
487
|
+
|
488
|
+
field :named_entity, NamedEntity, null: false
|
489
|
+
|
490
|
+
def resolve(named_entity:, new_name:)
|
491
|
+
# doesn't actually update the "database"
|
492
|
+
dup_named_entity = named_entity.dup
|
493
|
+
dup_named_entity.name = new_name
|
494
|
+
|
495
|
+
{
|
496
|
+
named_entity: dup_named_entity
|
497
|
+
}
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
class RenamePerformingAct < GraphQL::Schema::RelayClassicMutation
|
502
|
+
argument :performing_act_id, ID, required: true, loads: PerformingAct
|
503
|
+
argument :new_name, String, required: true
|
504
|
+
|
505
|
+
field :performing_act, PerformingAct, null: false
|
506
|
+
|
507
|
+
def resolve(performing_act:, new_name:)
|
508
|
+
# doesn't actually update the "database"
|
509
|
+
dup_performing_act = performing_act.dup
|
510
|
+
dup_performing_act.name = new_name
|
511
|
+
|
512
|
+
{
|
513
|
+
performing_act: dup_performing_act
|
514
|
+
}
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
475
518
|
class RenameEnsemble < GraphQL::Schema::RelayClassicMutation
|
476
519
|
argument :ensemble_id, ID, required: true, loads: Ensemble
|
477
520
|
argument :new_name, String, required: true
|
@@ -540,6 +583,8 @@ module Jazz
|
|
540
583
|
field :add_instrument, mutation: AddInstrument
|
541
584
|
field :add_sitar, mutation: AddSitar
|
542
585
|
field :rename_ensemble, mutation: RenameEnsemble
|
586
|
+
field :rename_named_entity, mutation: RenameNamedEntity
|
587
|
+
field :rename_performing_act, mutation: RenamePerformingAct
|
543
588
|
field :upvote_ensembles, mutation: UpvoteEnsembles
|
544
589
|
field :upvote_ensembles_as_bands, mutation: UpvoteEnsemblesAsBands
|
545
590
|
field :upvote_ensembles_ids, mutation: UpvoteEnsemblesIds
|
@@ -22,7 +22,7 @@ module LazyHelpers
|
|
22
22
|
attr_reader :own_value
|
23
23
|
attr_writer :value
|
24
24
|
|
25
|
-
def initialize(
|
25
|
+
def initialize(own_value)
|
26
26
|
@own_value = own_value
|
27
27
|
all << self
|
28
28
|
end
|
@@ -56,7 +56,7 @@ module LazyHelpers
|
|
56
56
|
if value == 13
|
57
57
|
Wrapper.new(nil)
|
58
58
|
else
|
59
|
-
SumAll.new(@
|
59
|
+
SumAll.new(@object + value)
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
@@ -82,7 +82,7 @@ module LazyHelpers
|
|
82
82
|
|
83
83
|
field :nestedSum, !LazySum do
|
84
84
|
argument :value, !types.Int
|
85
|
-
resolve ->(o, args, c) { SumAll.new(
|
85
|
+
resolve ->(o, args, c) { SumAll.new(args[:value]) }
|
86
86
|
end
|
87
87
|
|
88
88
|
field :nullableNestedSum, LazySum do
|
@@ -91,7 +91,7 @@ module LazyHelpers
|
|
91
91
|
if args[:value] == 13
|
92
92
|
Wrapper.new { raise GraphQL::ExecutionError.new("13 is unlucky") }
|
93
93
|
else
|
94
|
-
SumAll.new(
|
94
|
+
SumAll.new(args[:value])
|
95
95
|
end
|
96
96
|
}
|
97
97
|
end
|
@@ -142,6 +142,15 @@ module LazyHelpers
|
|
142
142
|
instrument(:query, SumAllInstrumentation.new(counter: nil))
|
143
143
|
instrument(:multiplex, SumAllInstrumentation.new(counter: 1))
|
144
144
|
instrument(:multiplex, SumAllInstrumentation.new(counter: 2))
|
145
|
+
|
146
|
+
def self.sync_lazy(lazy)
|
147
|
+
if lazy.is_a?(SumAll) && lazy.own_value > 1000
|
148
|
+
lazy.value # clear the previous set
|
149
|
+
lazy.own_value - 900
|
150
|
+
else
|
151
|
+
super
|
152
|
+
end
|
153
|
+
end
|
145
154
|
end
|
146
155
|
|
147
156
|
def run_query(query_str)
|
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.9
|
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-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|
@@ -735,6 +735,7 @@ files:
|
|
735
735
|
- spec/graphql/float_type_spec.rb
|
736
736
|
- spec/graphql/function_spec.rb
|
737
737
|
- spec/graphql/id_type_spec.rb
|
738
|
+
- spec/graphql/input_object_type_spec.rb
|
738
739
|
- spec/graphql/int_type_spec.rb
|
739
740
|
- spec/graphql/interface_type_spec.rb
|
740
741
|
- spec/graphql/internal_representation/print_spec.rb
|
@@ -870,6 +871,7 @@ files:
|
|
870
871
|
- spec/integration/rails/graphql/schema_spec.rb
|
871
872
|
- spec/integration/rails/graphql/tracing/active_support_notifications_tracing_spec.rb
|
872
873
|
- spec/integration/rails/spec_helper.rb
|
874
|
+
- spec/integration/tmp/app/graphql/types/page_type.rb
|
873
875
|
- spec/spec_helper.rb
|
874
876
|
- spec/support/dummy/data.rb
|
875
877
|
- spec/support/dummy/schema.rb
|
@@ -910,256 +912,258 @@ signing_key:
|
|
910
912
|
specification_version: 4
|
911
913
|
summary: A GraphQL language and runtime for Ruby
|
912
914
|
test_files:
|
913
|
-
- spec/spec_helper.rb
|
914
|
-
- spec/dummy/app/jobs/application_job.rb
|
915
|
-
- spec/dummy/app/controllers/application_controller.rb
|
916
|
-
- spec/dummy/app/controllers/pages_controller.rb
|
917
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
918
|
-
- spec/dummy/app/views/pages/show.html
|
919
915
|
- spec/dummy/app/assets/config/manifest.js
|
920
916
|
- spec/dummy/app/assets/javascripts/application.js
|
921
|
-
- spec/dummy/app/helpers/application_helper.rb
|
922
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
923
917
|
- spec/dummy/app/channels/application_cable/channel.rb
|
918
|
+
- spec/dummy/app/channels/application_cable/connection.rb
|
924
919
|
- spec/dummy/app/channels/graphql_channel.rb
|
925
|
-
- spec/dummy/
|
926
|
-
- spec/dummy/
|
927
|
-
- spec/dummy/
|
928
|
-
- spec/dummy/
|
920
|
+
- spec/dummy/app/controllers/application_controller.rb
|
921
|
+
- spec/dummy/app/controllers/pages_controller.rb
|
922
|
+
- spec/dummy/app/helpers/application_helper.rb
|
923
|
+
- spec/dummy/app/jobs/application_job.rb
|
924
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
925
|
+
- spec/dummy/app/views/pages/show.html
|
926
|
+
- spec/dummy/bin/bundle
|
927
|
+
- spec/dummy/bin/rails
|
929
928
|
- spec/dummy/bin/rake
|
930
929
|
- spec/dummy/bin/setup
|
931
|
-
- spec/dummy/bin/
|
930
|
+
- spec/dummy/bin/update
|
932
931
|
- spec/dummy/bin/yarn
|
933
|
-
- spec/dummy/
|
934
|
-
- spec/dummy/config/
|
935
|
-
- spec/dummy/config/routes.rb
|
936
|
-
- spec/dummy/config/locales/en.yml
|
932
|
+
- spec/dummy/config/application.rb
|
933
|
+
- spec/dummy/config/boot.rb
|
937
934
|
- spec/dummy/config/cable.yml
|
938
|
-
- spec/dummy/config/
|
935
|
+
- spec/dummy/config/environment.rb
|
939
936
|
- spec/dummy/config/environments/development.rb
|
937
|
+
- spec/dummy/config/environments/production.rb
|
940
938
|
- spec/dummy/config/environments/test.rb
|
941
|
-
- spec/dummy/config/environment.rb
|
942
|
-
- spec/dummy/config/application.rb
|
943
|
-
- spec/dummy/config/puma.rb
|
944
|
-
- spec/dummy/config/boot.rb
|
945
939
|
- spec/dummy/config/initializers/application_controller_renderer.rb
|
946
940
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
947
|
-
- spec/dummy/config/initializers/mime_types.rb
|
948
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
949
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
950
941
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
942
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
951
943
|
- spec/dummy/config/initializers/inflections.rb
|
944
|
+
- spec/dummy/config/initializers/mime_types.rb
|
945
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
946
|
+
- spec/dummy/config/locales/en.yml
|
947
|
+
- spec/dummy/config/puma.rb
|
948
|
+
- spec/dummy/config/routes.rb
|
949
|
+
- spec/dummy/config/secrets.yml
|
952
950
|
- spec/dummy/config.ru
|
953
|
-
- spec/dummy/
|
954
|
-
- spec/dummy/
|
955
|
-
- spec/dummy/public/
|
951
|
+
- spec/dummy/Gemfile
|
952
|
+
- spec/dummy/package.json
|
953
|
+
- spec/dummy/public/404.html
|
956
954
|
- spec/dummy/public/422.html
|
957
|
-
- spec/dummy/public/apple-touch-icon.png
|
958
955
|
- spec/dummy/public/500.html
|
959
|
-
- spec/dummy/public/404.html
|
960
956
|
- spec/dummy/public/apple-touch-icon-precomposed.png
|
957
|
+
- spec/dummy/public/apple-touch-icon.png
|
958
|
+
- spec/dummy/public/favicon.ico
|
961
959
|
- spec/dummy/public/robots.txt
|
962
|
-
- spec/dummy/
|
963
|
-
- spec/dummy/
|
964
|
-
- spec/
|
965
|
-
- spec/
|
966
|
-
- spec/
|
967
|
-
- spec/
|
968
|
-
- spec/
|
969
|
-
- spec/
|
970
|
-
- spec/
|
971
|
-
- spec/
|
972
|
-
- spec/
|
973
|
-
- spec/
|
974
|
-
- spec/
|
975
|
-
- spec/
|
976
|
-
- spec/
|
977
|
-
- spec/
|
978
|
-
- spec/
|
979
|
-
- spec/
|
980
|
-
- spec/
|
981
|
-
- spec/
|
982
|
-
- spec/
|
983
|
-
- spec/
|
984
|
-
- spec/
|
985
|
-
- spec/
|
986
|
-
- spec/
|
987
|
-
- spec/
|
988
|
-
- spec/
|
989
|
-
- spec/integration/rails/generators/graphql/enum_generator_spec.rb
|
990
|
-
- spec/integration/rails/generators/graphql/union_generator_spec.rb
|
991
|
-
- spec/integration/rails/generators/graphql/object_generator_spec.rb
|
992
|
-
- spec/integration/rails/generators/base_generator_test.rb
|
993
|
-
- spec/support/star_wars/schema.rb
|
994
|
-
- spec/support/static_validation_helpers.rb
|
995
|
-
- spec/support/dummy/schema.rb
|
996
|
-
- spec/support/dummy/data.rb
|
997
|
-
- spec/support/magic_cards/schema.graphql
|
998
|
-
- spec/support/new_relic.rb
|
999
|
-
- spec/support/parser/filename_example_error_1.graphql
|
1000
|
-
- spec/support/parser/filename_example_error_2.graphql
|
1001
|
-
- spec/support/parser/filename_example.graphql
|
1002
|
-
- spec/support/lazy_helpers.rb
|
1003
|
-
- spec/support/minimum_input_object.rb
|
1004
|
-
- spec/support/global_id.rb
|
1005
|
-
- spec/support/skylight.rb
|
1006
|
-
- spec/support/jazz.rb
|
1007
|
-
- spec/graphql/compatibility/query_parser_specification_spec.rb
|
1008
|
-
- spec/graphql/compatibility/execution_specification_spec.rb
|
1009
|
-
- spec/graphql/compatibility/schema_parser_specification_spec.rb
|
1010
|
-
- spec/graphql/compatibility/lazy_execution_specification_spec.rb
|
1011
|
-
- spec/graphql/float_type_spec.rb
|
1012
|
-
- spec/graphql/tracing/skylight_tracing_spec.rb
|
1013
|
-
- spec/graphql/tracing/prometheus_tracing_spec.rb
|
1014
|
-
- spec/graphql/tracing/new_relic_tracing_spec.rb
|
1015
|
-
- spec/graphql/tracing/scout_tracing_spec.rb
|
1016
|
-
- spec/graphql/tracing/platform_tracing_spec.rb
|
1017
|
-
- spec/graphql/boolean_type_spec.rb
|
1018
|
-
- spec/graphql/rake_task_spec.rb
|
1019
|
-
- spec/graphql/int_type_spec.rb
|
1020
|
-
- spec/graphql/types/iso_8601_date_time_spec.rb
|
1021
|
-
- spec/graphql/field_spec.rb
|
1022
|
-
- spec/graphql/analysis/max_query_depth_spec.rb
|
1023
|
-
- spec/graphql/analysis/max_query_complexity_spec.rb
|
960
|
+
- spec/dummy/Rakefile
|
961
|
+
- spec/dummy/README.md
|
962
|
+
- spec/dummy/test/application_system_test_case.rb
|
963
|
+
- spec/dummy/test/system/action_cable_subscription_test.rb
|
964
|
+
- spec/dummy/test/test_helper.rb
|
965
|
+
- spec/fixtures/upgrader/account.original.rb
|
966
|
+
- spec/fixtures/upgrader/account.transformed.rb
|
967
|
+
- spec/fixtures/upgrader/blame_range.original.rb
|
968
|
+
- spec/fixtures/upgrader/blame_range.transformed.rb
|
969
|
+
- spec/fixtures/upgrader/date_time.original.rb
|
970
|
+
- spec/fixtures/upgrader/date_time.transformed.rb
|
971
|
+
- spec/fixtures/upgrader/delete_project.original.rb
|
972
|
+
- spec/fixtures/upgrader/delete_project.transformed.rb
|
973
|
+
- spec/fixtures/upgrader/gist_order_field.original.rb
|
974
|
+
- spec/fixtures/upgrader/gist_order_field.transformed.rb
|
975
|
+
- spec/fixtures/upgrader/increment_count.original.rb
|
976
|
+
- spec/fixtures/upgrader/increment_count.transformed.rb
|
977
|
+
- spec/fixtures/upgrader/photo.original.rb
|
978
|
+
- spec/fixtures/upgrader/photo.transformed.rb
|
979
|
+
- spec/fixtures/upgrader/release_order.original.rb
|
980
|
+
- spec/fixtures/upgrader/release_order.transformed.rb
|
981
|
+
- spec/fixtures/upgrader/starrable.original.rb
|
982
|
+
- spec/fixtures/upgrader/starrable.transformed.rb
|
983
|
+
- spec/fixtures/upgrader/subscribable.original.rb
|
984
|
+
- spec/fixtures/upgrader/subscribable.transformed.rb
|
985
|
+
- spec/fixtures/upgrader/type_x.original.rb
|
986
|
+
- spec/fixtures/upgrader/type_x.transformed.rb
|
1024
987
|
- spec/graphql/analysis/analyze_query_spec.rb
|
1025
|
-
- spec/graphql/analysis/query_depth_spec.rb
|
1026
988
|
- spec/graphql/analysis/field_usage_spec.rb
|
989
|
+
- spec/graphql/analysis/max_query_complexity_spec.rb
|
990
|
+
- spec/graphql/analysis/max_query_depth_spec.rb
|
1027
991
|
- spec/graphql/analysis/query_complexity_spec.rb
|
992
|
+
- spec/graphql/analysis/query_depth_spec.rb
|
993
|
+
- spec/graphql/argument_spec.rb
|
994
|
+
- spec/graphql/authorization_spec.rb
|
1028
995
|
- spec/graphql/backtrace_spec.rb
|
1029
|
-
- spec/graphql/
|
1030
|
-
- spec/graphql/
|
996
|
+
- spec/graphql/base_type_spec.rb
|
997
|
+
- spec/graphql/boolean_type_spec.rb
|
998
|
+
- spec/graphql/compatibility/execution_specification_spec.rb
|
999
|
+
- spec/graphql/compatibility/lazy_execution_specification_spec.rb
|
1000
|
+
- spec/graphql/compatibility/query_parser_specification_spec.rb
|
1001
|
+
- spec/graphql/compatibility/schema_parser_specification_spec.rb
|
1031
1002
|
- spec/graphql/define/assign_argument_spec.rb
|
1032
|
-
- spec/graphql/
|
1033
|
-
- spec/graphql/
|
1034
|
-
- spec/graphql/
|
1035
|
-
- spec/graphql/
|
1036
|
-
- spec/graphql/
|
1037
|
-
- spec/graphql/
|
1038
|
-
- spec/graphql/
|
1039
|
-
- spec/graphql/
|
1040
|
-
- spec/graphql/
|
1041
|
-
- spec/graphql/
|
1042
|
-
- spec/graphql/
|
1043
|
-
- spec/graphql/
|
1044
|
-
- spec/graphql/
|
1045
|
-
- spec/graphql/
|
1046
|
-
- spec/graphql/
|
1047
|
-
- spec/graphql/
|
1048
|
-
- spec/graphql/
|
1049
|
-
- spec/graphql/
|
1050
|
-
- spec/graphql/
|
1051
|
-
- spec/graphql/
|
1052
|
-
- spec/graphql/
|
1053
|
-
- spec/graphql/
|
1054
|
-
- spec/graphql/
|
1055
|
-
- spec/graphql/
|
1056
|
-
- spec/graphql/
|
1057
|
-
- spec/graphql/
|
1058
|
-
- spec/graphql/static_validation/rules/fragments_are_used_spec.rb
|
1059
|
-
- spec/graphql/static_validation/type_stack_spec.rb
|
1060
|
-
- spec/graphql/list_type_spec.rb
|
1061
|
-
- spec/graphql/authorization_spec.rb
|
1003
|
+
- spec/graphql/define/instance_definable_spec.rb
|
1004
|
+
- spec/graphql/directive/skip_directive_spec.rb
|
1005
|
+
- spec/graphql/directive_spec.rb
|
1006
|
+
- spec/graphql/enum_type_spec.rb
|
1007
|
+
- spec/graphql/execution/execute_spec.rb
|
1008
|
+
- spec/graphql/execution/instrumentation_spec.rb
|
1009
|
+
- spec/graphql/execution/lazy/lazy_method_map_spec.rb
|
1010
|
+
- spec/graphql/execution/lazy_spec.rb
|
1011
|
+
- spec/graphql/execution/multiplex_spec.rb
|
1012
|
+
- spec/graphql/execution/typecast_spec.rb
|
1013
|
+
- spec/graphql/execution_error_spec.rb
|
1014
|
+
- spec/graphql/field_spec.rb
|
1015
|
+
- spec/graphql/float_type_spec.rb
|
1016
|
+
- spec/graphql/function_spec.rb
|
1017
|
+
- spec/graphql/id_type_spec.rb
|
1018
|
+
- spec/graphql/input_object_type_spec.rb
|
1019
|
+
- spec/graphql/int_type_spec.rb
|
1020
|
+
- spec/graphql/interface_type_spec.rb
|
1021
|
+
- spec/graphql/internal_representation/print_spec.rb
|
1022
|
+
- spec/graphql/internal_representation/rewrite_spec.rb
|
1023
|
+
- spec/graphql/introspection/directive_type_spec.rb
|
1024
|
+
- spec/graphql/introspection/input_value_type_spec.rb
|
1025
|
+
- spec/graphql/introspection/introspection_query_spec.rb
|
1026
|
+
- spec/graphql/introspection/schema_type_spec.rb
|
1027
|
+
- spec/graphql/introspection/type_type_spec.rb
|
1028
|
+
- spec/graphql/language/block_string_spec.rb
|
1062
1029
|
- spec/graphql/language/definition_slice_spec.rb
|
1063
1030
|
- spec/graphql/language/document_from_schema_definition_spec.rb
|
1031
|
+
- spec/graphql/language/equality_spec.rb
|
1032
|
+
- spec/graphql/language/generation_spec.rb
|
1033
|
+
- spec/graphql/language/lexer_spec.rb
|
1034
|
+
- spec/graphql/language/nodes_spec.rb
|
1064
1035
|
- spec/graphql/language/parser_spec.rb
|
1065
1036
|
- spec/graphql/language/printer_spec.rb
|
1066
|
-
- spec/graphql/language/generation_spec.rb
|
1067
1037
|
- spec/graphql/language/visitor_spec.rb
|
1068
|
-
- spec/graphql/
|
1069
|
-
- spec/graphql/
|
1070
|
-
- spec/graphql/language/block_string_spec.rb
|
1071
|
-
- spec/graphql/language/lexer_spec.rb
|
1072
|
-
- spec/graphql/introspection/introspection_query_spec.rb
|
1073
|
-
- spec/graphql/introspection/input_value_type_spec.rb
|
1074
|
-
- spec/graphql/introspection/schema_type_spec.rb
|
1075
|
-
- spec/graphql/introspection/directive_type_spec.rb
|
1076
|
-
- spec/graphql/introspection/type_type_spec.rb
|
1077
|
-
- spec/graphql/directive_spec.rb
|
1038
|
+
- spec/graphql/list_type_spec.rb
|
1039
|
+
- spec/graphql/non_null_type_spec.rb
|
1078
1040
|
- spec/graphql/object_type_spec.rb
|
1079
|
-
- spec/graphql/
|
1080
|
-
- spec/graphql/
|
1041
|
+
- spec/graphql/query/arguments_spec.rb
|
1042
|
+
- spec/graphql/query/context_spec.rb
|
1043
|
+
- spec/graphql/query/executor_spec.rb
|
1044
|
+
- spec/graphql/query/literal_input_spec.rb
|
1045
|
+
- spec/graphql/query/result_spec.rb
|
1046
|
+
- spec/graphql/query/serial_execution/value_resolution_spec.rb
|
1047
|
+
- spec/graphql/query_spec.rb
|
1048
|
+
- spec/graphql/rake_task_spec.rb
|
1049
|
+
- spec/graphql/scalar_type_spec.rb
|
1050
|
+
- spec/graphql/schema/argument_spec.rb
|
1051
|
+
- spec/graphql/schema/build_from_definition_spec.rb
|
1081
1052
|
- spec/graphql/schema/catchall_middleware_spec.rb
|
1082
|
-
- spec/graphql/schema/
|
1083
|
-
- spec/graphql/schema/warden_spec.rb
|
1084
|
-
- spec/graphql/schema/loader_spec.rb
|
1085
|
-
- spec/graphql/schema/unique_within_type_spec.rb
|
1086
|
-
- spec/graphql/schema/field_spec.rb
|
1087
|
-
- spec/graphql/schema/validation_spec.rb
|
1053
|
+
- spec/graphql/schema/enum_spec.rb
|
1088
1054
|
- spec/graphql/schema/enum_value_spec.rb
|
1089
|
-
- spec/graphql/schema/
|
1090
|
-
- spec/graphql/schema/scalar_spec.rb
|
1091
|
-
- spec/graphql/schema/object_spec.rb
|
1092
|
-
- spec/graphql/schema/middleware_chain_spec.rb
|
1093
|
-
- spec/graphql/schema/build_from_definition_spec.rb
|
1055
|
+
- spec/graphql/schema/field_spec.rb
|
1094
1056
|
- spec/graphql/schema/finder_spec.rb
|
1095
|
-
- spec/graphql/schema/
|
1096
|
-
- spec/graphql/schema/
|
1057
|
+
- spec/graphql/schema/input_object_spec.rb
|
1058
|
+
- spec/graphql/schema/instrumentation_spec.rb
|
1059
|
+
- spec/graphql/schema/interface_spec.rb
|
1060
|
+
- spec/graphql/schema/introspection_system_spec.rb
|
1061
|
+
- spec/graphql/schema/list_spec.rb
|
1062
|
+
- spec/graphql/schema/loader_spec.rb
|
1097
1063
|
- spec/graphql/schema/member/accepts_definition_spec.rb
|
1098
1064
|
- spec/graphql/schema/member/build_type_spec.rb
|
1099
1065
|
- spec/graphql/schema/member/has_fields_spec.rb
|
1100
1066
|
- spec/graphql/schema/member/scoped_spec.rb
|
1101
|
-
- spec/graphql/schema/
|
1102
|
-
- spec/graphql/schema/
|
1103
|
-
- spec/graphql/schema/
|
1104
|
-
- spec/graphql/schema/type_expression_spec.rb
|
1067
|
+
- spec/graphql/schema/member/type_system_helpers_spec.rb
|
1068
|
+
- spec/graphql/schema/middleware_chain_spec.rb
|
1069
|
+
- spec/graphql/schema/mutation_spec.rb
|
1105
1070
|
- spec/graphql/schema/non_null_spec.rb
|
1106
|
-
- spec/graphql/schema/
|
1071
|
+
- spec/graphql/schema/object_spec.rb
|
1107
1072
|
- spec/graphql/schema/printer_spec.rb
|
1108
|
-
- spec/graphql/schema/mutation_spec.rb
|
1109
|
-
- spec/graphql/schema/resolver_spec.rb
|
1110
1073
|
- spec/graphql/schema/relay_classic_mutation_spec.rb
|
1111
|
-
- spec/graphql/schema/
|
1112
|
-
- spec/graphql/schema/
|
1074
|
+
- spec/graphql/schema/rescue_middleware_spec.rb
|
1075
|
+
- spec/graphql/schema/resolver_spec.rb
|
1076
|
+
- spec/graphql/schema/scalar_spec.rb
|
1077
|
+
- spec/graphql/schema/timeout_middleware_spec.rb
|
1078
|
+
- spec/graphql/schema/traversal_spec.rb
|
1079
|
+
- spec/graphql/schema/type_expression_spec.rb
|
1113
1080
|
- spec/graphql/schema/union_spec.rb
|
1114
|
-
- spec/graphql/schema/
|
1115
|
-
- spec/graphql/
|
1116
|
-
- spec/graphql/
|
1117
|
-
- spec/graphql/
|
1118
|
-
- spec/graphql/
|
1119
|
-
- spec/graphql/
|
1120
|
-
- spec/graphql/
|
1121
|
-
- spec/graphql/
|
1122
|
-
- spec/graphql/
|
1123
|
-
- spec/graphql/
|
1124
|
-
- spec/graphql/
|
1125
|
-
- spec/graphql/
|
1126
|
-
- spec/graphql/
|
1127
|
-
- spec/graphql/
|
1128
|
-
- spec/graphql/
|
1129
|
-
- spec/graphql/
|
1130
|
-
- spec/graphql/
|
1131
|
-
- spec/graphql/
|
1132
|
-
- spec/graphql/
|
1133
|
-
- spec/graphql/
|
1134
|
-
- spec/graphql/
|
1135
|
-
- spec/graphql/
|
1136
|
-
- spec/graphql/
|
1137
|
-
- spec/graphql/
|
1138
|
-
- spec/graphql/
|
1139
|
-
- spec/graphql/
|
1081
|
+
- spec/graphql/schema/unique_within_type_spec.rb
|
1082
|
+
- spec/graphql/schema/validation_spec.rb
|
1083
|
+
- spec/graphql/schema/warden_spec.rb
|
1084
|
+
- spec/graphql/static_validation/rules/argument_literals_are_compatible_spec.rb
|
1085
|
+
- spec/graphql/static_validation/rules/argument_names_are_unique_spec.rb
|
1086
|
+
- spec/graphql/static_validation/rules/arguments_are_defined_spec.rb
|
1087
|
+
- spec/graphql/static_validation/rules/directives_are_defined_spec.rb
|
1088
|
+
- spec/graphql/static_validation/rules/directives_are_in_valid_locations_spec.rb
|
1089
|
+
- spec/graphql/static_validation/rules/fields_are_defined_on_type_spec.rb
|
1090
|
+
- spec/graphql/static_validation/rules/fields_have_appropriate_selections_spec.rb
|
1091
|
+
- spec/graphql/static_validation/rules/fields_will_merge_spec.rb
|
1092
|
+
- spec/graphql/static_validation/rules/fragment_names_are_unique_spec.rb
|
1093
|
+
- spec/graphql/static_validation/rules/fragment_spreads_are_possible_spec.rb
|
1094
|
+
- spec/graphql/static_validation/rules/fragment_types_exist_spec.rb
|
1095
|
+
- spec/graphql/static_validation/rules/fragments_are_finite_spec.rb
|
1096
|
+
- spec/graphql/static_validation/rules/fragments_are_named_spec.rb
|
1097
|
+
- spec/graphql/static_validation/rules/fragments_are_on_composite_types_spec.rb
|
1098
|
+
- spec/graphql/static_validation/rules/fragments_are_used_spec.rb
|
1099
|
+
- spec/graphql/static_validation/rules/mutation_root_exists_spec.rb
|
1100
|
+
- spec/graphql/static_validation/rules/no_definitions_are_present_spec.rb
|
1101
|
+
- spec/graphql/static_validation/rules/operation_names_are_valid_spec.rb
|
1102
|
+
- spec/graphql/static_validation/rules/required_arguments_are_present_spec.rb
|
1103
|
+
- spec/graphql/static_validation/rules/subscription_root_exists_spec.rb
|
1104
|
+
- spec/graphql/static_validation/rules/unique_directives_per_location_spec.rb
|
1105
|
+
- spec/graphql/static_validation/rules/variable_default_values_are_correctly_typed_spec.rb
|
1106
|
+
- spec/graphql/static_validation/rules/variable_names_are_unique_spec.rb
|
1107
|
+
- spec/graphql/static_validation/rules/variable_usages_are_allowed_spec.rb
|
1108
|
+
- spec/graphql/static_validation/rules/variables_are_input_types_spec.rb
|
1109
|
+
- spec/graphql/static_validation/rules/variables_are_used_and_defined_spec.rb
|
1110
|
+
- spec/graphql/static_validation/type_stack_spec.rb
|
1111
|
+
- spec/graphql/static_validation/validator_spec.rb
|
1140
1112
|
- spec/graphql/string_type_spec.rb
|
1141
|
-
- spec/graphql/
|
1113
|
+
- spec/graphql/subscriptions/serialize_spec.rb
|
1142
1114
|
- spec/graphql/subscriptions_spec.rb
|
1143
|
-
- spec/graphql/
|
1144
|
-
- spec/
|
1145
|
-
- spec/
|
1146
|
-
- spec/
|
1147
|
-
- spec/
|
1148
|
-
- spec/
|
1149
|
-
- spec/
|
1150
|
-
- spec/
|
1151
|
-
- spec/
|
1152
|
-
- spec/
|
1153
|
-
- spec/
|
1154
|
-
- spec/
|
1155
|
-
- spec/
|
1156
|
-
- spec/
|
1157
|
-
- spec/
|
1158
|
-
- spec/
|
1159
|
-
- spec/
|
1160
|
-
- spec/
|
1161
|
-
- spec/
|
1162
|
-
- spec/
|
1163
|
-
- spec/
|
1164
|
-
- spec/
|
1165
|
-
- spec/
|
1115
|
+
- spec/graphql/tracing/new_relic_tracing_spec.rb
|
1116
|
+
- spec/graphql/tracing/platform_tracing_spec.rb
|
1117
|
+
- spec/graphql/tracing/prometheus_tracing_spec.rb
|
1118
|
+
- spec/graphql/tracing/scout_tracing_spec.rb
|
1119
|
+
- spec/graphql/tracing/skylight_tracing_spec.rb
|
1120
|
+
- spec/graphql/tracing_spec.rb
|
1121
|
+
- spec/graphql/types/iso_8601_date_time_spec.rb
|
1122
|
+
- spec/graphql/union_type_spec.rb
|
1123
|
+
- spec/graphql/upgrader/member_spec.rb
|
1124
|
+
- spec/graphql/upgrader/schema_spec.rb
|
1125
|
+
- spec/integration/mongoid/graphql/relay/mongo_relation_connection_spec.rb
|
1126
|
+
- spec/integration/mongoid/spec_helper.rb
|
1127
|
+
- spec/integration/mongoid/star_trek/data.rb
|
1128
|
+
- spec/integration/mongoid/star_trek/schema.rb
|
1129
|
+
- spec/integration/rails/data.rb
|
1130
|
+
- spec/integration/rails/generators/base_generator_test.rb
|
1131
|
+
- spec/integration/rails/generators/graphql/enum_generator_spec.rb
|
1132
|
+
- spec/integration/rails/generators/graphql/install_generator_spec.rb
|
1133
|
+
- spec/integration/rails/generators/graphql/interface_generator_spec.rb
|
1134
|
+
- spec/integration/rails/generators/graphql/loader_generator_spec.rb
|
1135
|
+
- spec/integration/rails/generators/graphql/mutation_generator_spec.rb
|
1136
|
+
- spec/integration/rails/generators/graphql/object_generator_spec.rb
|
1137
|
+
- spec/integration/rails/generators/graphql/union_generator_spec.rb
|
1138
|
+
- spec/integration/rails/graphql/input_object_type_spec.rb
|
1139
|
+
- spec/integration/rails/graphql/query/variables_spec.rb
|
1140
|
+
- spec/integration/rails/graphql/relay/array_connection_spec.rb
|
1141
|
+
- spec/integration/rails/graphql/relay/base_connection_spec.rb
|
1142
|
+
- spec/integration/rails/graphql/relay/connection_instrumentation_spec.rb
|
1143
|
+
- spec/integration/rails/graphql/relay/connection_resolve_spec.rb
|
1144
|
+
- spec/integration/rails/graphql/relay/connection_type_spec.rb
|
1145
|
+
- spec/integration/rails/graphql/relay/edge_spec.rb
|
1146
|
+
- spec/integration/rails/graphql/relay/mutation_spec.rb
|
1147
|
+
- spec/integration/rails/graphql/relay/node_spec.rb
|
1148
|
+
- spec/integration/rails/graphql/relay/page_info_spec.rb
|
1149
|
+
- spec/integration/rails/graphql/relay/range_add_spec.rb
|
1150
|
+
- spec/integration/rails/graphql/relay/relation_connection_spec.rb
|
1151
|
+
- spec/integration/rails/graphql/schema_spec.rb
|
1152
|
+
- spec/integration/rails/graphql/tracing/active_support_notifications_tracing_spec.rb
|
1153
|
+
- spec/integration/rails/spec_helper.rb
|
1154
|
+
- spec/integration/tmp/app/graphql/types/page_type.rb
|
1155
|
+
- spec/spec_helper.rb
|
1156
|
+
- spec/support/dummy/data.rb
|
1157
|
+
- spec/support/dummy/schema.rb
|
1158
|
+
- spec/support/global_id.rb
|
1159
|
+
- spec/support/jazz.rb
|
1160
|
+
- spec/support/lazy_helpers.rb
|
1161
|
+
- spec/support/magic_cards/schema.graphql
|
1162
|
+
- spec/support/minimum_input_object.rb
|
1163
|
+
- spec/support/new_relic.rb
|
1164
|
+
- spec/support/parser/filename_example.graphql
|
1165
|
+
- spec/support/parser/filename_example_error_1.graphql
|
1166
|
+
- spec/support/parser/filename_example_error_2.graphql
|
1167
|
+
- spec/support/skylight.rb
|
1168
|
+
- spec/support/star_wars/schema.rb
|
1169
|
+
- spec/support/static_validation_helpers.rb
|