graphql 1.9.11 → 1.9.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/analysis/ast/query_complexity.rb +0 -8
- data/lib/graphql/analysis/ast/query_depth.rb +0 -8
- data/lib/graphql/analysis/ast/visitor.rb +26 -24
- data/lib/graphql/execution.rb +1 -0
- data/lib/graphql/execution/errors.rb +60 -0
- data/lib/graphql/execution/interpreter/runtime.rb +21 -17
- data/lib/graphql/static_validation/rules/fields_will_merge.rb +15 -8
- data/lib/graphql/version.rb +1 -1
- metadata +5 -556
- data/spec/dummy/Gemfile +0 -12
- data/spec/dummy/README.md +0 -24
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/app/assets/config/manifest.js +0 -1
- data/spec/dummy/app/assets/javascripts/application.js +0 -66
- data/spec/dummy/app/channels/application_cable/channel.rb +0 -5
- data/spec/dummy/app/channels/application_cable/connection.rb +0 -5
- data/spec/dummy/app/channels/graphql_channel.rb +0 -116
- data/spec/dummy/app/controllers/application_controller.rb +0 -4
- data/spec/dummy/app/controllers/pages_controller.rb +0 -5
- data/spec/dummy/app/helpers/application_helper.rb +0 -3
- data/spec/dummy/app/jobs/application_job.rb +0 -3
- data/spec/dummy/app/views/layouts/application.html.erb +0 -12
- data/spec/dummy/app/views/pages/show.html +0 -16
- data/spec/dummy/bin/bundle +0 -4
- data/spec/dummy/bin/rails +0 -5
- data/spec/dummy/bin/rake +0 -5
- data/spec/dummy/bin/setup +0 -31
- data/spec/dummy/bin/update +0 -27
- data/spec/dummy/bin/yarn +0 -12
- data/spec/dummy/config.ru +0 -6
- data/spec/dummy/config/application.rb +0 -30
- data/spec/dummy/config/boot.rb +0 -4
- data/spec/dummy/config/cable.yml +0 -10
- data/spec/dummy/config/environment.rb +0 -6
- data/spec/dummy/config/environments/development.rb +0 -40
- data/spec/dummy/config/environments/production.rb +0 -76
- data/spec/dummy/config/environments/test.rb +0 -37
- data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -9
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -8
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -6
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -5
- data/spec/dummy/config/initializers/inflections.rb +0 -17
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -10
- data/spec/dummy/config/locales/en.yml +0 -33
- data/spec/dummy/config/puma.rb +0 -57
- data/spec/dummy/config/routes.rb +0 -4
- data/spec/dummy/config/secrets.yml +0 -32
- data/spec/dummy/package.json +0 -5
- data/spec/dummy/public/404.html +0 -67
- data/spec/dummy/public/422.html +0 -67
- data/spec/dummy/public/500.html +0 -66
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/robots.txt +0 -1
- data/spec/dummy/test/application_system_test_case.rb +0 -6
- data/spec/dummy/test/system/action_cable_subscription_test.rb +0 -45
- data/spec/dummy/test/test_helper.rb +0 -4
- data/spec/fixtures/upgrader/account.original.rb +0 -19
- data/spec/fixtures/upgrader/account.transformed.rb +0 -20
- data/spec/fixtures/upgrader/blame_range.original.rb +0 -43
- data/spec/fixtures/upgrader/blame_range.transformed.rb +0 -30
- data/spec/fixtures/upgrader/date_time.original.rb +0 -24
- data/spec/fixtures/upgrader/date_time.transformed.rb +0 -23
- data/spec/fixtures/upgrader/delete_project.original.rb +0 -28
- data/spec/fixtures/upgrader/delete_project.transformed.rb +0 -27
- data/spec/fixtures/upgrader/gist_order_field.original.rb +0 -14
- data/spec/fixtures/upgrader/gist_order_field.transformed.rb +0 -13
- data/spec/fixtures/upgrader/increment_count.original.rb +0 -59
- data/spec/fixtures/upgrader/increment_count.transformed.rb +0 -50
- data/spec/fixtures/upgrader/mutation.original.rb +0 -28
- data/spec/fixtures/upgrader/mutation.transformed.rb +0 -28
- data/spec/fixtures/upgrader/photo.original.rb +0 -10
- data/spec/fixtures/upgrader/photo.transformed.rb +0 -12
- data/spec/fixtures/upgrader/release_order.original.rb +0 -15
- data/spec/fixtures/upgrader/release_order.transformed.rb +0 -14
- data/spec/fixtures/upgrader/starrable.original.rb +0 -49
- data/spec/fixtures/upgrader/starrable.transformed.rb +0 -46
- data/spec/fixtures/upgrader/subscribable.original.rb +0 -55
- data/spec/fixtures/upgrader/subscribable.transformed.rb +0 -51
- data/spec/fixtures/upgrader/type_x.original.rb +0 -65
- data/spec/fixtures/upgrader/type_x.transformed.rb +0 -56
- data/spec/graphql/analysis/analyze_query_spec.rb +0 -261
- data/spec/graphql/analysis/ast/field_usage_spec.rb +0 -51
- data/spec/graphql/analysis/ast/max_query_complexity_spec.rb +0 -120
- data/spec/graphql/analysis/ast/max_query_depth_spec.rb +0 -134
- data/spec/graphql/analysis/ast/query_complexity_spec.rb +0 -299
- data/spec/graphql/analysis/ast/query_depth_spec.rb +0 -108
- data/spec/graphql/analysis/ast_spec.rb +0 -296
- data/spec/graphql/analysis/field_usage_spec.rb +0 -62
- data/spec/graphql/analysis/max_query_complexity_spec.rb +0 -102
- data/spec/graphql/analysis/max_query_depth_spec.rb +0 -103
- data/spec/graphql/analysis/query_complexity_spec.rb +0 -301
- data/spec/graphql/analysis/query_depth_spec.rb +0 -81
- data/spec/graphql/argument_spec.rb +0 -159
- data/spec/graphql/authorization_spec.rb +0 -974
- data/spec/graphql/backtrace_spec.rb +0 -206
- data/spec/graphql/base_type_spec.rb +0 -171
- data/spec/graphql/boolean_type_spec.rb +0 -21
- data/spec/graphql/compatibility/execution_specification_spec.rb +0 -4
- data/spec/graphql/compatibility/lazy_execution_specification_spec.rb +0 -4
- data/spec/graphql/compatibility/query_parser_specification_spec.rb +0 -6
- data/spec/graphql/compatibility/schema_parser_specification_spec.rb +0 -6
- data/spec/graphql/define/assign_argument_spec.rb +0 -61
- data/spec/graphql/define/instance_definable_spec.rb +0 -203
- data/spec/graphql/directive/skip_directive_spec.rb +0 -9
- data/spec/graphql/directive_spec.rb +0 -295
- data/spec/graphql/enum_type_spec.rb +0 -158
- data/spec/graphql/execution/execute_spec.rb +0 -303
- data/spec/graphql/execution/instrumentation_spec.rb +0 -212
- data/spec/graphql/execution/interpreter_spec.rb +0 -485
- data/spec/graphql/execution/lazy/lazy_method_map_spec.rb +0 -57
- data/spec/graphql/execution/lazy_spec.rb +0 -247
- data/spec/graphql/execution/lookahead_spec.rb +0 -390
- data/spec/graphql/execution/multiplex_spec.rb +0 -222
- data/spec/graphql/execution/typecast_spec.rb +0 -47
- data/spec/graphql/execution_error_spec.rb +0 -329
- data/spec/graphql/field_spec.rb +0 -246
- data/spec/graphql/float_type_spec.rb +0 -16
- data/spec/graphql/function_spec.rb +0 -152
- data/spec/graphql/id_type_spec.rb +0 -33
- data/spec/graphql/input_object_type_spec.rb +0 -25
- data/spec/graphql/int_type_spec.rb +0 -35
- data/spec/graphql/interface_type_spec.rb +0 -196
- data/spec/graphql/internal_representation/print_spec.rb +0 -41
- data/spec/graphql/internal_representation/rewrite_spec.rb +0 -381
- data/spec/graphql/introspection/directive_type_spec.rb +0 -66
- data/spec/graphql/introspection/input_value_type_spec.rb +0 -144
- data/spec/graphql/introspection/introspection_query_spec.rb +0 -64
- data/spec/graphql/introspection/schema_type_spec.rb +0 -57
- data/spec/graphql/introspection/type_type_spec.rb +0 -155
- data/spec/graphql/language/block_string_spec.rb +0 -70
- data/spec/graphql/language/definition_slice_spec.rb +0 -226
- data/spec/graphql/language/document_from_schema_definition_spec.rb +0 -770
- data/spec/graphql/language/equality_spec.rb +0 -84
- data/spec/graphql/language/generation_spec.rb +0 -38
- data/spec/graphql/language/lexer_spec.rb +0 -153
- data/spec/graphql/language/nodes_spec.rb +0 -67
- data/spec/graphql/language/parser_spec.rb +0 -183
- data/spec/graphql/language/printer_spec.rb +0 -215
- data/spec/graphql/language/visitor_spec.rb +0 -419
- data/spec/graphql/list_type_spec.rb +0 -57
- data/spec/graphql/non_null_type_spec.rb +0 -48
- data/spec/graphql/object_type_spec.rb +0 -197
- data/spec/graphql/query/arguments_spec.rb +0 -346
- data/spec/graphql/query/context_spec.rb +0 -292
- data/spec/graphql/query/executor_spec.rb +0 -341
- data/spec/graphql/query/literal_input_spec.rb +0 -91
- data/spec/graphql/query/result_spec.rb +0 -29
- data/spec/graphql/query/serial_execution/value_resolution_spec.rb +0 -109
- data/spec/graphql/query_spec.rb +0 -803
- data/spec/graphql/rake_task_spec.rb +0 -59
- data/spec/graphql/scalar_type_spec.rb +0 -66
- data/spec/graphql/schema/argument_spec.rb +0 -186
- data/spec/graphql/schema/build_from_definition_spec.rb +0 -1197
- data/spec/graphql/schema/catchall_middleware_spec.rb +0 -32
- data/spec/graphql/schema/directive/feature_spec.rb +0 -81
- data/spec/graphql/schema/directive/transform_spec.rb +0 -39
- data/spec/graphql/schema/enum_spec.rb +0 -83
- data/spec/graphql/schema/enum_value_spec.rb +0 -24
- data/spec/graphql/schema/field_extension_spec.rb +0 -159
- data/spec/graphql/schema/field_spec.rb +0 -319
- data/spec/graphql/schema/finder_spec.rb +0 -135
- data/spec/graphql/schema/input_object_spec.rb +0 -421
- data/spec/graphql/schema/instrumentation_spec.rb +0 -43
- data/spec/graphql/schema/interface_spec.rb +0 -215
- data/spec/graphql/schema/introspection_system_spec.rb +0 -80
- data/spec/graphql/schema/list_spec.rb +0 -73
- data/spec/graphql/schema/loader_spec.rb +0 -350
- data/spec/graphql/schema/member/accepts_definition_spec.rb +0 -115
- data/spec/graphql/schema/member/build_type_spec.rb +0 -63
- data/spec/graphql/schema/member/scoped_spec.rb +0 -217
- data/spec/graphql/schema/member/type_system_helpers_spec.rb +0 -63
- data/spec/graphql/schema/middleware_chain_spec.rb +0 -57
- data/spec/graphql/schema/mutation_spec.rb +0 -150
- data/spec/graphql/schema/non_null_spec.rb +0 -46
- data/spec/graphql/schema/object_spec.rb +0 -355
- data/spec/graphql/schema/printer_spec.rb +0 -883
- data/spec/graphql/schema/relay_classic_mutation_spec.rb +0 -252
- data/spec/graphql/schema/rescue_middleware_spec.rb +0 -88
- data/spec/graphql/schema/resolver_spec.rb +0 -743
- data/spec/graphql/schema/scalar_spec.rb +0 -101
- data/spec/graphql/schema/subscription_spec.rb +0 -505
- data/spec/graphql/schema/timeout_middleware_spec.rb +0 -188
- data/spec/graphql/schema/timeout_spec.rb +0 -206
- data/spec/graphql/schema/traversal_spec.rb +0 -222
- data/spec/graphql/schema/type_expression_spec.rb +0 -39
- data/spec/graphql/schema/union_spec.rb +0 -72
- data/spec/graphql/schema/unique_within_type_spec.rb +0 -44
- data/spec/graphql/schema/validation_spec.rb +0 -355
- data/spec/graphql/schema/warden_spec.rb +0 -926
- data/spec/graphql/schema_spec.rb +0 -169
- data/spec/graphql/static_validation/rules/argument_literals_are_compatible_spec.rb +0 -466
- data/spec/graphql/static_validation/rules/argument_names_are_unique_spec.rb +0 -44
- data/spec/graphql/static_validation/rules/arguments_are_defined_spec.rb +0 -112
- data/spec/graphql/static_validation/rules/directives_are_defined_spec.rb +0 -35
- data/spec/graphql/static_validation/rules/directives_are_in_valid_locations_spec.rb +0 -42
- data/spec/graphql/static_validation/rules/fields_are_defined_on_type_spec.rb +0 -167
- data/spec/graphql/static_validation/rules/fields_have_appropriate_selections_spec.rb +0 -66
- data/spec/graphql/static_validation/rules/fields_will_merge_spec.rb +0 -740
- data/spec/graphql/static_validation/rules/fragment_names_are_unique_spec.rb +0 -28
- data/spec/graphql/static_validation/rules/fragment_spreads_are_possible_spec.rb +0 -52
- data/spec/graphql/static_validation/rules/fragment_types_exist_spec.rb +0 -42
- data/spec/graphql/static_validation/rules/fragments_are_finite_spec.rb +0 -123
- data/spec/graphql/static_validation/rules/fragments_are_named_spec.rb +0 -24
- data/spec/graphql/static_validation/rules/fragments_are_on_composite_types_spec.rb +0 -56
- data/spec/graphql/static_validation/rules/fragments_are_used_spec.rb +0 -61
- data/spec/graphql/static_validation/rules/mutation_root_exists_spec.rb +0 -39
- data/spec/graphql/static_validation/rules/no_definitions_are_present_spec.rb +0 -62
- data/spec/graphql/static_validation/rules/operation_names_are_valid_spec.rb +0 -82
- data/spec/graphql/static_validation/rules/required_arguments_are_present_spec.rb +0 -98
- data/spec/graphql/static_validation/rules/required_input_object_attributes_are_present_spec.rb +0 -86
- data/spec/graphql/static_validation/rules/subscription_root_exists_spec.rb +0 -34
- data/spec/graphql/static_validation/rules/unique_directives_per_location_spec.rb +0 -188
- data/spec/graphql/static_validation/rules/variable_default_values_are_correctly_typed_spec.rb +0 -196
- data/spec/graphql/static_validation/rules/variable_names_are_unique_spec.rb +0 -23
- data/spec/graphql/static_validation/rules/variable_usages_are_allowed_spec.rb +0 -236
- data/spec/graphql/static_validation/rules/variables_are_input_types_spec.rb +0 -78
- data/spec/graphql/static_validation/rules/variables_are_used_and_defined_spec.rb +0 -81
- data/spec/graphql/static_validation/type_stack_spec.rb +0 -29
- data/spec/graphql/static_validation/validator_spec.rb +0 -204
- data/spec/graphql/string_type_spec.rb +0 -80
- data/spec/graphql/subscriptions/serialize_spec.rb +0 -49
- data/spec/graphql/subscriptions_spec.rb +0 -540
- data/spec/graphql/tracing/new_relic_tracing_spec.rb +0 -84
- data/spec/graphql/tracing/platform_tracing_spec.rb +0 -141
- data/spec/graphql/tracing/prometheus_tracing_spec.rb +0 -42
- data/spec/graphql/tracing/scout_tracing_spec.rb +0 -17
- data/spec/graphql/tracing/skylight_tracing_spec.rb +0 -63
- data/spec/graphql/tracing_spec.rb +0 -52
- data/spec/graphql/types/big_int_spec.rb +0 -24
- data/spec/graphql/types/iso_8601_date_time_spec.rb +0 -137
- data/spec/graphql/types/relay/base_edge_spec.rb +0 -33
- data/spec/graphql/union_type_spec.rb +0 -211
- data/spec/graphql/upgrader/member_spec.rb +0 -583
- data/spec/graphql/upgrader/schema_spec.rb +0 -82
- data/spec/integration/mongoid/graphql/relay/mongo_relation_connection_spec.rb +0 -528
- data/spec/integration/mongoid/spec_helper.rb +0 -2
- data/spec/integration/mongoid/star_trek/data.rb +0 -126
- data/spec/integration/mongoid/star_trek/schema.rb +0 -424
- data/spec/integration/rails/data.rb +0 -110
- data/spec/integration/rails/generators/base_generator_test.rb +0 -7
- data/spec/integration/rails/generators/graphql/enum_generator_spec.rb +0 -30
- data/spec/integration/rails/generators/graphql/install_generator_spec.rb +0 -238
- data/spec/integration/rails/generators/graphql/interface_generator_spec.rb +0 -34
- data/spec/integration/rails/generators/graphql/loader_generator_spec.rb +0 -59
- data/spec/integration/rails/generators/graphql/mutation_generator_spec.rb +0 -71
- data/spec/integration/rails/generators/graphql/object_generator_spec.rb +0 -54
- data/spec/integration/rails/generators/graphql/scalar_generator_spec.rb +0 -28
- data/spec/integration/rails/generators/graphql/union_generator_spec.rb +0 -67
- data/spec/integration/rails/graphql/input_object_spec.rb +0 -19
- data/spec/integration/rails/graphql/input_object_type_spec.rb +0 -364
- data/spec/integration/rails/graphql/query/variables_spec.rb +0 -375
- data/spec/integration/rails/graphql/relay/array_connection_spec.rb +0 -309
- data/spec/integration/rails/graphql/relay/base_connection_spec.rb +0 -101
- data/spec/integration/rails/graphql/relay/connection_instrumentation_spec.rb +0 -80
- data/spec/integration/rails/graphql/relay/connection_resolve_spec.rb +0 -79
- data/spec/integration/rails/graphql/relay/connection_type_spec.rb +0 -106
- data/spec/integration/rails/graphql/relay/edge_spec.rb +0 -10
- data/spec/integration/rails/graphql/relay/mutation_spec.rb +0 -387
- data/spec/integration/rails/graphql/relay/node_spec.rb +0 -263
- data/spec/integration/rails/graphql/relay/page_info_spec.rb +0 -111
- data/spec/integration/rails/graphql/relay/range_add_spec.rb +0 -117
- data/spec/integration/rails/graphql/relay/relation_connection_spec.rb +0 -837
- data/spec/integration/rails/graphql/schema_spec.rb +0 -507
- data/spec/integration/rails/graphql/tracing/active_support_notifications_tracing_spec.rb +0 -62
- data/spec/integration/rails/spec_helper.rb +0 -25
- data/spec/spec_helper.rb +0 -116
- data/spec/support/dummy/data.rb +0 -45
- data/spec/support/dummy/schema.rb +0 -519
- data/spec/support/error_bubbling_helpers.rb +0 -23
- data/spec/support/global_id.rb +0 -23
- data/spec/support/jazz.rb +0 -778
- data/spec/support/lazy_helpers.rb +0 -192
- data/spec/support/magic_cards/schema.graphql +0 -33
- data/spec/support/minimum_input_object.rb +0 -21
- data/spec/support/new_relic.rb +0 -27
- data/spec/support/parser/filename_example.graphql +0 -5
- data/spec/support/parser/filename_example_error_1.graphql +0 -4
- data/spec/support/parser/filename_example_error_2.graphql +0 -5
- data/spec/support/parser/filename_example_invalid_utf8.graphql +0 -1
- data/spec/support/skylight.rb +0 -39
- data/spec/support/star_wars/schema.rb +0 -464
- data/spec/support/static_validation_helpers.rb +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d481a2778755fd04273d3335f045bf5b68232318a8888808ea9efb1d66f00b7
|
4
|
+
data.tar.gz: d05e5e2fbc6a704df4f7c7ff16b968674f45b79ed835b8618b096e696623986a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75e14a834bd382b69c2521f0a55f023561d626f3599f1ba8be52609d64f99e68ab2781bb30b96ab228c18a24e5ba8e9dc974ee215e8e21c03d8fa28527789a8c
|
7
|
+
data.tar.gz: 460db63f3c6a562f7b596b8b39da2379a9b45ec6123b0644b2af0c3a080ae3272a6bb567ab004fa32f69cf079cebfc954fff083695679e5970a4109885cdce4d
|
@@ -50,14 +50,6 @@ module GraphQL
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
def on_enter_fragment_spread(node, _, visitor)
|
54
|
-
visitor.enter_fragment_spread_inline(node)
|
55
|
-
end
|
56
|
-
|
57
|
-
def on_leave_fragment_spread(node, _, visitor)
|
58
|
-
visitor.leave_fragment_spread_inline(node)
|
59
|
-
end
|
60
|
-
|
61
53
|
# @return [Integer]
|
62
54
|
def max_possible_complexity
|
63
55
|
@complexities_on_type.last.max_possible_complexity
|
@@ -47,14 +47,6 @@ module GraphQL
|
|
47
47
|
@current_depth -= 1
|
48
48
|
end
|
49
49
|
|
50
|
-
def on_enter_fragment_spread(node, _, visitor)
|
51
|
-
visitor.enter_fragment_spread_inline(node)
|
52
|
-
end
|
53
|
-
|
54
|
-
def on_leave_fragment_spread(node, _, visitor)
|
55
|
-
visitor.leave_fragment_spread_inline(node)
|
56
|
-
end
|
57
|
-
|
58
50
|
def result
|
59
51
|
@max_depth
|
60
52
|
end
|
@@ -158,7 +158,9 @@ module GraphQL
|
|
158
158
|
def on_fragment_spread(node, parent)
|
159
159
|
@path.push("... #{node.name}")
|
160
160
|
call_analyzers(:on_enter_fragment_spread, node, parent)
|
161
|
+
enter_fragment_spread_inline(node)
|
161
162
|
super
|
163
|
+
leave_fragment_spread_inline(node)
|
162
164
|
call_analyzers(:on_leave_fragment_spread, node, parent)
|
163
165
|
@path.pop
|
164
166
|
end
|
@@ -169,30 +171,6 @@ module GraphQL
|
|
169
171
|
call_analyzers(:on_leave_abstract_node, node, parent)
|
170
172
|
end
|
171
173
|
|
172
|
-
# Visit a fragment spread inline instead of visiting the definition
|
173
|
-
# by itself.
|
174
|
-
def enter_fragment_spread_inline(fragment_spread)
|
175
|
-
fragment_def = query.fragments[fragment_spread.name]
|
176
|
-
|
177
|
-
object_type = if fragment_def.type
|
178
|
-
query.schema.types.fetch(fragment_def.type.name, nil)
|
179
|
-
else
|
180
|
-
object_types.last
|
181
|
-
end
|
182
|
-
|
183
|
-
object_types << object_type
|
184
|
-
|
185
|
-
fragment_def.selections.each do |selection|
|
186
|
-
visit_node(selection, fragment_def)
|
187
|
-
end
|
188
|
-
end
|
189
|
-
|
190
|
-
# Visit a fragment spread inline instead of visiting the definition
|
191
|
-
# by itself.
|
192
|
-
def leave_fragment_spread_inline(_fragment_spread)
|
193
|
-
object_types.pop
|
194
|
-
end
|
195
|
-
|
196
174
|
# @return [GraphQL::BaseType] The current object type
|
197
175
|
def type_definition
|
198
176
|
@object_types.last
|
@@ -230,6 +208,30 @@ module GraphQL
|
|
230
208
|
|
231
209
|
private
|
232
210
|
|
211
|
+
# Visit a fragment spread inline instead of visiting the definition
|
212
|
+
# by itself.
|
213
|
+
def enter_fragment_spread_inline(fragment_spread)
|
214
|
+
fragment_def = query.fragments[fragment_spread.name]
|
215
|
+
|
216
|
+
object_type = if fragment_def.type
|
217
|
+
query.schema.types.fetch(fragment_def.type.name, nil)
|
218
|
+
else
|
219
|
+
object_types.last
|
220
|
+
end
|
221
|
+
|
222
|
+
object_types << object_type
|
223
|
+
|
224
|
+
fragment_def.selections.each do |selection|
|
225
|
+
visit_node(selection, fragment_def)
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# Visit a fragment spread inline instead of visiting the definition
|
230
|
+
# by itself.
|
231
|
+
def leave_fragment_spread_inline(_fragment_spread)
|
232
|
+
object_types.pop
|
233
|
+
end
|
234
|
+
|
233
235
|
def skip?(ast_node)
|
234
236
|
dir = ast_node.directives
|
235
237
|
dir.any? && !GraphQL::Execution::DirectiveChecks.include?(dir, query)
|
data/lib/graphql/execution.rb
CHANGED
@@ -0,0 +1,60 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module GraphQL
|
4
|
+
module Execution
|
5
|
+
# A tracer that wraps query execution with error handling.
|
6
|
+
# Supports class-based schemas and the new {Interpreter} runtime only.
|
7
|
+
#
|
8
|
+
# @example Handling ActiveRecord::NotFound
|
9
|
+
#
|
10
|
+
# class MySchema < GraphQL::Schema
|
11
|
+
# use GraphQL::Execution::Errors
|
12
|
+
#
|
13
|
+
# rescue_from(ActiveRecord::NotFound) do |err, obj, args, ctx, field|
|
14
|
+
# ErrorTracker.log("Not Found: #{err.message}")
|
15
|
+
# nil
|
16
|
+
# end
|
17
|
+
# end
|
18
|
+
#
|
19
|
+
class Errors
|
20
|
+
def self.use(schema)
|
21
|
+
schema_class = schema.is_a?(Class) ? schema : schema.target.class
|
22
|
+
schema.tracer(self.new(schema_class))
|
23
|
+
end
|
24
|
+
|
25
|
+
def initialize(schema)
|
26
|
+
@schema = schema
|
27
|
+
end
|
28
|
+
|
29
|
+
def trace(event, data)
|
30
|
+
case event
|
31
|
+
when "execute_field", "execute_field_lazy"
|
32
|
+
with_error_handling(data) { yield }
|
33
|
+
else
|
34
|
+
yield
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
private
|
39
|
+
|
40
|
+
def with_error_handling(trace_data)
|
41
|
+
yield
|
42
|
+
rescue StandardError => err
|
43
|
+
rescues = @schema.rescues
|
44
|
+
_err_class, handler = rescues.find { |err_class, handler| err.is_a?(err_class) }
|
45
|
+
if handler
|
46
|
+
obj = trace_data[:object]
|
47
|
+
args = trace_data[:arguments]
|
48
|
+
ctx = trace_data[:query].context
|
49
|
+
field = trace_data[:field]
|
50
|
+
if obj.is_a?(GraphQL::Schema::Object)
|
51
|
+
obj = obj.object
|
52
|
+
end
|
53
|
+
handler.call(err, obj, args, ctx, field)
|
54
|
+
else
|
55
|
+
raise err
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
@@ -205,13 +205,17 @@ module GraphQL
|
|
205
205
|
|
206
206
|
field_result = resolve_with_directives(object, ast_node) do
|
207
207
|
# Actually call the field resolver and capture the result
|
208
|
-
app_result =
|
209
|
-
|
208
|
+
app_result = begin
|
209
|
+
query.trace("execute_field", {owner: owner_type, field: field_defn, path: next_path, query: query, object: object, arguments: kwarg_arguments}) do
|
210
|
+
field_defn.resolve(object, kwarg_arguments, context)
|
211
|
+
end
|
212
|
+
rescue GraphQL::ExecutionError => err
|
213
|
+
err
|
210
214
|
end
|
211
|
-
after_lazy(app_result, owner: owner_type, field: field_defn, path: next_path) do |inner_result|
|
215
|
+
after_lazy(app_result, owner: owner_type, field: field_defn, path: next_path, owner_object: object, arguments: kwarg_arguments) do |inner_result|
|
212
216
|
continue_value = continue_value(next_path, inner_result, field_defn, return_type.non_null?, ast_node)
|
213
217
|
if HALT != continue_value
|
214
|
-
continue_field(next_path, continue_value, field_defn, return_type, ast_node, next_selections, false)
|
218
|
+
continue_field(next_path, continue_value, field_defn, return_type, ast_node, next_selections, false, object, kwarg_arguments)
|
215
219
|
end
|
216
220
|
end
|
217
221
|
end
|
@@ -274,7 +278,7 @@ module GraphQL
|
|
274
278
|
# Location information from `path` and `ast_node`.
|
275
279
|
#
|
276
280
|
# @return [Lazy, Array, Hash, Object] Lazy, Array, and Hash are all traversed to resolve lazy values later
|
277
|
-
def continue_field(path, value, field, type, ast_node, next_selections, is_non_null)
|
281
|
+
def continue_field(path, value, field, type, ast_node, next_selections, is_non_null, owner_object, arguments) # rubocop:disable Metrics/ParameterLists
|
278
282
|
case type.kind.name
|
279
283
|
when "SCALAR", "ENUM"
|
280
284
|
r = type.coerce_result(value, context)
|
@@ -282,7 +286,7 @@ module GraphQL
|
|
282
286
|
r
|
283
287
|
when "UNION", "INTERFACE"
|
284
288
|
resolved_type_or_lazy = query.resolve_type(type, value)
|
285
|
-
after_lazy(resolved_type_or_lazy, owner: type, path: path, field: field) do |resolved_type|
|
289
|
+
after_lazy(resolved_type_or_lazy, owner: type, path: path, field: field, owner_object: owner_object, arguments: arguments) do |resolved_type|
|
286
290
|
possible_types = query.possible_types(type)
|
287
291
|
|
288
292
|
if !possible_types.include?(resolved_type)
|
@@ -293,7 +297,7 @@ module GraphQL
|
|
293
297
|
nil
|
294
298
|
else
|
295
299
|
resolved_type = resolved_type.metadata[:type_class]
|
296
|
-
continue_field(path, value, field, resolved_type, ast_node, next_selections, is_non_null)
|
300
|
+
continue_field(path, value, field, resolved_type, ast_node, next_selections, is_non_null, owner_object, arguments)
|
297
301
|
end
|
298
302
|
end
|
299
303
|
when "OBJECT"
|
@@ -302,7 +306,7 @@ module GraphQL
|
|
302
306
|
rescue GraphQL::ExecutionError => err
|
303
307
|
err
|
304
308
|
end
|
305
|
-
after_lazy(object_proxy, owner: type, path: path, field: field) do |inner_object|
|
309
|
+
after_lazy(object_proxy, owner: type, path: path, field: field, owner_object: owner_object, arguments: arguments) do |inner_object|
|
306
310
|
continue_value = continue_value(path, inner_object, field, is_non_null, ast_node)
|
307
311
|
if HALT != continue_value
|
308
312
|
response_hash = {}
|
@@ -323,11 +327,11 @@ module GraphQL
|
|
323
327
|
idx += 1
|
324
328
|
set_type_at_path(next_path, inner_type)
|
325
329
|
# This will update `response_list` with the lazy
|
326
|
-
after_lazy(inner_value, owner: inner_type, path: next_path, field: field) do |inner_inner_value|
|
330
|
+
after_lazy(inner_value, owner: inner_type, path: next_path, field: field, owner_object: owner_object, arguments: arguments) do |inner_inner_value|
|
327
331
|
# reset `is_non_null` here and below, because the inner type will have its own nullability constraint
|
328
332
|
continue_value = continue_value(next_path, inner_inner_value, field, false, ast_node)
|
329
333
|
if HALT != continue_value
|
330
|
-
continue_field(next_path, continue_value, field, inner_type, ast_node, next_selections, false)
|
334
|
+
continue_field(next_path, continue_value, field, inner_type, ast_node, next_selections, false, owner_object, arguments)
|
331
335
|
end
|
332
336
|
end
|
333
337
|
end
|
@@ -338,7 +342,7 @@ module GraphQL
|
|
338
342
|
inner_type = resolve_if_late_bound_type(inner_type)
|
339
343
|
# Don't `set_type_at_path` because we want the static type,
|
340
344
|
# we're going to use that to determine whether a `nil` should be propagated or not.
|
341
|
-
continue_field(path, value, field, inner_type, ast_node, next_selections, true)
|
345
|
+
continue_field(path, value, field, inner_type, ast_node, next_selections, true, owner_object, arguments)
|
342
346
|
else
|
343
347
|
raise "Invariant: Unhandled type kind #{type.kind} (#{type})"
|
344
348
|
end
|
@@ -389,23 +393,23 @@ module GraphQL
|
|
389
393
|
# @param field [GraphQL::Schema::Field]
|
390
394
|
# @param eager [Boolean] Set to `true` for mutation root fields only
|
391
395
|
# @return [GraphQL::Execution::Lazy, Object] If loading `object` will be deferred, it's a wrapper over it.
|
392
|
-
def after_lazy(
|
396
|
+
def after_lazy(lazy_obj, owner:, field:, path:, owner_object:, arguments:, eager: false)
|
393
397
|
@interpreter_context[:current_path] = path
|
394
398
|
@interpreter_context[:current_field] = field
|
395
|
-
if schema.lazy?(
|
399
|
+
if schema.lazy?(lazy_obj)
|
396
400
|
lazy = GraphQL::Execution::Lazy.new(path: path, field: field) do
|
397
401
|
@interpreter_context[:current_path] = path
|
398
402
|
@interpreter_context[:current_field] = field
|
399
403
|
# Wrap the execution of _this_ method with tracing,
|
400
404
|
# but don't wrap the continuation below
|
401
|
-
inner_obj = query.trace("execute_field_lazy", {owner: owner, field: field, path: path, query: query}) do
|
405
|
+
inner_obj = query.trace("execute_field_lazy", {owner: owner, field: field, path: path, query: query, object: owner_object, arguments: arguments}) do
|
402
406
|
begin
|
403
|
-
schema.sync_lazy(
|
407
|
+
schema.sync_lazy(lazy_obj)
|
404
408
|
rescue GraphQL::ExecutionError, GraphQL::UnauthorizedError => err
|
405
409
|
yield(err)
|
406
410
|
end
|
407
411
|
end
|
408
|
-
after_lazy(inner_obj, owner: owner, field: field, path: path, eager: eager) do |really_inner_obj|
|
412
|
+
after_lazy(inner_obj, owner: owner, field: field, path: path, owner_object: owner_object, arguments: arguments, eager: eager) do |really_inner_obj|
|
409
413
|
yield(really_inner_obj)
|
410
414
|
end
|
411
415
|
end
|
@@ -417,7 +421,7 @@ module GraphQL
|
|
417
421
|
lazy
|
418
422
|
end
|
419
423
|
else
|
420
|
-
yield(
|
424
|
+
yield(lazy_obj)
|
421
425
|
end
|
422
426
|
end
|
423
427
|
|
@@ -330,22 +330,29 @@ module GraphQL
|
|
330
330
|
# Check for incompatible / non-identical arguments on this node:
|
331
331
|
[field1, field2].map do |n|
|
332
332
|
if n.arguments.any?
|
333
|
-
|
333
|
+
serialized_args = {}
|
334
|
+
n.arguments.each do |a|
|
334
335
|
arg_value = a.value
|
335
|
-
|
336
|
-
when GraphQL::Language::Nodes::AbstractNode
|
337
|
-
arg_value.to_query_string
|
338
|
-
else
|
339
|
-
GraphQL::Language.serialize(arg_value)
|
340
|
-
end
|
341
|
-
memo
|
336
|
+
serialized_args[a.name] = serialize_arg(arg_value)
|
342
337
|
end
|
338
|
+
serialized_args
|
343
339
|
else
|
344
340
|
NO_ARGS
|
345
341
|
end
|
346
342
|
end.uniq
|
347
343
|
end
|
348
344
|
|
345
|
+
def serialize_arg(arg_value)
|
346
|
+
case arg_value
|
347
|
+
when GraphQL::Language::Nodes::AbstractNode
|
348
|
+
arg_value.to_query_string
|
349
|
+
when Array
|
350
|
+
"[#{arg_value.map { |a| serialize_arg(a) }.join(", ")}]"
|
351
|
+
else
|
352
|
+
GraphQL::Language.serialize(arg_value)
|
353
|
+
end
|
354
|
+
end
|
355
|
+
|
349
356
|
def compared_fragments_key(frag1, frag2, exclusive)
|
350
357
|
# Cache key to not compare two fragments more than once.
|
351
358
|
# The key includes both fragment names sorted (this way we
|
data/lib/graphql/version.rb
CHANGED
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.9.
|
4
|
+
version: 1.9.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|
@@ -416,6 +416,7 @@ files:
|
|
416
416
|
- lib/graphql/enum_type.rb
|
417
417
|
- lib/graphql/execution.rb
|
418
418
|
- lib/graphql/execution/directive_checks.rb
|
419
|
+
- lib/graphql/execution/errors.rb
|
419
420
|
- lib/graphql/execution/execute.rb
|
420
421
|
- lib/graphql/execution/flatten.rb
|
421
422
|
- lib/graphql/execution/instrumentation.rb
|
@@ -703,282 +704,6 @@ files:
|
|
703
704
|
- lib/graphql/upgrader/schema.rb
|
704
705
|
- lib/graphql/version.rb
|
705
706
|
- readme.md
|
706
|
-
- spec/dummy/Gemfile
|
707
|
-
- spec/dummy/README.md
|
708
|
-
- spec/dummy/Rakefile
|
709
|
-
- spec/dummy/app/assets/config/manifest.js
|
710
|
-
- spec/dummy/app/assets/javascripts/application.js
|
711
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
712
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
713
|
-
- spec/dummy/app/channels/graphql_channel.rb
|
714
|
-
- spec/dummy/app/controllers/application_controller.rb
|
715
|
-
- spec/dummy/app/controllers/pages_controller.rb
|
716
|
-
- spec/dummy/app/helpers/application_helper.rb
|
717
|
-
- spec/dummy/app/jobs/application_job.rb
|
718
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
719
|
-
- spec/dummy/app/views/pages/show.html
|
720
|
-
- spec/dummy/bin/bundle
|
721
|
-
- spec/dummy/bin/rails
|
722
|
-
- spec/dummy/bin/rake
|
723
|
-
- spec/dummy/bin/setup
|
724
|
-
- spec/dummy/bin/update
|
725
|
-
- spec/dummy/bin/yarn
|
726
|
-
- spec/dummy/config.ru
|
727
|
-
- spec/dummy/config/application.rb
|
728
|
-
- spec/dummy/config/boot.rb
|
729
|
-
- spec/dummy/config/cable.yml
|
730
|
-
- spec/dummy/config/environment.rb
|
731
|
-
- spec/dummy/config/environments/development.rb
|
732
|
-
- spec/dummy/config/environments/production.rb
|
733
|
-
- spec/dummy/config/environments/test.rb
|
734
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
735
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
736
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
737
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
738
|
-
- spec/dummy/config/initializers/inflections.rb
|
739
|
-
- spec/dummy/config/initializers/mime_types.rb
|
740
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
741
|
-
- spec/dummy/config/locales/en.yml
|
742
|
-
- spec/dummy/config/puma.rb
|
743
|
-
- spec/dummy/config/routes.rb
|
744
|
-
- spec/dummy/config/secrets.yml
|
745
|
-
- spec/dummy/package.json
|
746
|
-
- spec/dummy/public/404.html
|
747
|
-
- spec/dummy/public/422.html
|
748
|
-
- spec/dummy/public/500.html
|
749
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
750
|
-
- spec/dummy/public/apple-touch-icon.png
|
751
|
-
- spec/dummy/public/favicon.ico
|
752
|
-
- spec/dummy/public/robots.txt
|
753
|
-
- spec/dummy/test/application_system_test_case.rb
|
754
|
-
- spec/dummy/test/system/action_cable_subscription_test.rb
|
755
|
-
- spec/dummy/test/test_helper.rb
|
756
|
-
- spec/fixtures/upgrader/account.original.rb
|
757
|
-
- spec/fixtures/upgrader/account.transformed.rb
|
758
|
-
- spec/fixtures/upgrader/blame_range.original.rb
|
759
|
-
- spec/fixtures/upgrader/blame_range.transformed.rb
|
760
|
-
- spec/fixtures/upgrader/date_time.original.rb
|
761
|
-
- spec/fixtures/upgrader/date_time.transformed.rb
|
762
|
-
- spec/fixtures/upgrader/delete_project.original.rb
|
763
|
-
- spec/fixtures/upgrader/delete_project.transformed.rb
|
764
|
-
- spec/fixtures/upgrader/gist_order_field.original.rb
|
765
|
-
- spec/fixtures/upgrader/gist_order_field.transformed.rb
|
766
|
-
- spec/fixtures/upgrader/increment_count.original.rb
|
767
|
-
- spec/fixtures/upgrader/increment_count.transformed.rb
|
768
|
-
- spec/fixtures/upgrader/mutation.original.rb
|
769
|
-
- spec/fixtures/upgrader/mutation.transformed.rb
|
770
|
-
- spec/fixtures/upgrader/photo.original.rb
|
771
|
-
- spec/fixtures/upgrader/photo.transformed.rb
|
772
|
-
- spec/fixtures/upgrader/release_order.original.rb
|
773
|
-
- spec/fixtures/upgrader/release_order.transformed.rb
|
774
|
-
- spec/fixtures/upgrader/starrable.original.rb
|
775
|
-
- spec/fixtures/upgrader/starrable.transformed.rb
|
776
|
-
- spec/fixtures/upgrader/subscribable.original.rb
|
777
|
-
- spec/fixtures/upgrader/subscribable.transformed.rb
|
778
|
-
- spec/fixtures/upgrader/type_x.original.rb
|
779
|
-
- spec/fixtures/upgrader/type_x.transformed.rb
|
780
|
-
- spec/graphql/analysis/analyze_query_spec.rb
|
781
|
-
- spec/graphql/analysis/ast/field_usage_spec.rb
|
782
|
-
- spec/graphql/analysis/ast/max_query_complexity_spec.rb
|
783
|
-
- spec/graphql/analysis/ast/max_query_depth_spec.rb
|
784
|
-
- spec/graphql/analysis/ast/query_complexity_spec.rb
|
785
|
-
- spec/graphql/analysis/ast/query_depth_spec.rb
|
786
|
-
- spec/graphql/analysis/ast_spec.rb
|
787
|
-
- spec/graphql/analysis/field_usage_spec.rb
|
788
|
-
- spec/graphql/analysis/max_query_complexity_spec.rb
|
789
|
-
- spec/graphql/analysis/max_query_depth_spec.rb
|
790
|
-
- spec/graphql/analysis/query_complexity_spec.rb
|
791
|
-
- spec/graphql/analysis/query_depth_spec.rb
|
792
|
-
- spec/graphql/argument_spec.rb
|
793
|
-
- spec/graphql/authorization_spec.rb
|
794
|
-
- spec/graphql/backtrace_spec.rb
|
795
|
-
- spec/graphql/base_type_spec.rb
|
796
|
-
- spec/graphql/boolean_type_spec.rb
|
797
|
-
- spec/graphql/compatibility/execution_specification_spec.rb
|
798
|
-
- spec/graphql/compatibility/lazy_execution_specification_spec.rb
|
799
|
-
- spec/graphql/compatibility/query_parser_specification_spec.rb
|
800
|
-
- spec/graphql/compatibility/schema_parser_specification_spec.rb
|
801
|
-
- spec/graphql/define/assign_argument_spec.rb
|
802
|
-
- spec/graphql/define/instance_definable_spec.rb
|
803
|
-
- spec/graphql/directive/skip_directive_spec.rb
|
804
|
-
- spec/graphql/directive_spec.rb
|
805
|
-
- spec/graphql/enum_type_spec.rb
|
806
|
-
- spec/graphql/execution/execute_spec.rb
|
807
|
-
- spec/graphql/execution/instrumentation_spec.rb
|
808
|
-
- spec/graphql/execution/interpreter_spec.rb
|
809
|
-
- spec/graphql/execution/lazy/lazy_method_map_spec.rb
|
810
|
-
- spec/graphql/execution/lazy_spec.rb
|
811
|
-
- spec/graphql/execution/lookahead_spec.rb
|
812
|
-
- spec/graphql/execution/multiplex_spec.rb
|
813
|
-
- spec/graphql/execution/typecast_spec.rb
|
814
|
-
- spec/graphql/execution_error_spec.rb
|
815
|
-
- spec/graphql/field_spec.rb
|
816
|
-
- spec/graphql/float_type_spec.rb
|
817
|
-
- spec/graphql/function_spec.rb
|
818
|
-
- spec/graphql/id_type_spec.rb
|
819
|
-
- spec/graphql/input_object_type_spec.rb
|
820
|
-
- spec/graphql/int_type_spec.rb
|
821
|
-
- spec/graphql/interface_type_spec.rb
|
822
|
-
- spec/graphql/internal_representation/print_spec.rb
|
823
|
-
- spec/graphql/internal_representation/rewrite_spec.rb
|
824
|
-
- spec/graphql/introspection/directive_type_spec.rb
|
825
|
-
- spec/graphql/introspection/input_value_type_spec.rb
|
826
|
-
- spec/graphql/introspection/introspection_query_spec.rb
|
827
|
-
- spec/graphql/introspection/schema_type_spec.rb
|
828
|
-
- spec/graphql/introspection/type_type_spec.rb
|
829
|
-
- spec/graphql/language/block_string_spec.rb
|
830
|
-
- spec/graphql/language/definition_slice_spec.rb
|
831
|
-
- spec/graphql/language/document_from_schema_definition_spec.rb
|
832
|
-
- spec/graphql/language/equality_spec.rb
|
833
|
-
- spec/graphql/language/generation_spec.rb
|
834
|
-
- spec/graphql/language/lexer_spec.rb
|
835
|
-
- spec/graphql/language/nodes_spec.rb
|
836
|
-
- spec/graphql/language/parser_spec.rb
|
837
|
-
- spec/graphql/language/printer_spec.rb
|
838
|
-
- spec/graphql/language/visitor_spec.rb
|
839
|
-
- spec/graphql/list_type_spec.rb
|
840
|
-
- spec/graphql/non_null_type_spec.rb
|
841
|
-
- spec/graphql/object_type_spec.rb
|
842
|
-
- spec/graphql/query/arguments_spec.rb
|
843
|
-
- spec/graphql/query/context_spec.rb
|
844
|
-
- spec/graphql/query/executor_spec.rb
|
845
|
-
- spec/graphql/query/literal_input_spec.rb
|
846
|
-
- spec/graphql/query/result_spec.rb
|
847
|
-
- spec/graphql/query/serial_execution/value_resolution_spec.rb
|
848
|
-
- spec/graphql/query_spec.rb
|
849
|
-
- spec/graphql/rake_task_spec.rb
|
850
|
-
- spec/graphql/scalar_type_spec.rb
|
851
|
-
- spec/graphql/schema/argument_spec.rb
|
852
|
-
- spec/graphql/schema/build_from_definition_spec.rb
|
853
|
-
- spec/graphql/schema/catchall_middleware_spec.rb
|
854
|
-
- spec/graphql/schema/directive/feature_spec.rb
|
855
|
-
- spec/graphql/schema/directive/transform_spec.rb
|
856
|
-
- spec/graphql/schema/enum_spec.rb
|
857
|
-
- spec/graphql/schema/enum_value_spec.rb
|
858
|
-
- spec/graphql/schema/field_extension_spec.rb
|
859
|
-
- spec/graphql/schema/field_spec.rb
|
860
|
-
- spec/graphql/schema/finder_spec.rb
|
861
|
-
- spec/graphql/schema/input_object_spec.rb
|
862
|
-
- spec/graphql/schema/instrumentation_spec.rb
|
863
|
-
- spec/graphql/schema/interface_spec.rb
|
864
|
-
- spec/graphql/schema/introspection_system_spec.rb
|
865
|
-
- spec/graphql/schema/list_spec.rb
|
866
|
-
- spec/graphql/schema/loader_spec.rb
|
867
|
-
- spec/graphql/schema/member/accepts_definition_spec.rb
|
868
|
-
- spec/graphql/schema/member/build_type_spec.rb
|
869
|
-
- spec/graphql/schema/member/scoped_spec.rb
|
870
|
-
- spec/graphql/schema/member/type_system_helpers_spec.rb
|
871
|
-
- spec/graphql/schema/middleware_chain_spec.rb
|
872
|
-
- spec/graphql/schema/mutation_spec.rb
|
873
|
-
- spec/graphql/schema/non_null_spec.rb
|
874
|
-
- spec/graphql/schema/object_spec.rb
|
875
|
-
- spec/graphql/schema/printer_spec.rb
|
876
|
-
- spec/graphql/schema/relay_classic_mutation_spec.rb
|
877
|
-
- spec/graphql/schema/rescue_middleware_spec.rb
|
878
|
-
- spec/graphql/schema/resolver_spec.rb
|
879
|
-
- spec/graphql/schema/scalar_spec.rb
|
880
|
-
- spec/graphql/schema/subscription_spec.rb
|
881
|
-
- spec/graphql/schema/timeout_middleware_spec.rb
|
882
|
-
- spec/graphql/schema/timeout_spec.rb
|
883
|
-
- spec/graphql/schema/traversal_spec.rb
|
884
|
-
- spec/graphql/schema/type_expression_spec.rb
|
885
|
-
- spec/graphql/schema/union_spec.rb
|
886
|
-
- spec/graphql/schema/unique_within_type_spec.rb
|
887
|
-
- spec/graphql/schema/validation_spec.rb
|
888
|
-
- spec/graphql/schema/warden_spec.rb
|
889
|
-
- spec/graphql/schema_spec.rb
|
890
|
-
- spec/graphql/static_validation/rules/argument_literals_are_compatible_spec.rb
|
891
|
-
- spec/graphql/static_validation/rules/argument_names_are_unique_spec.rb
|
892
|
-
- spec/graphql/static_validation/rules/arguments_are_defined_spec.rb
|
893
|
-
- spec/graphql/static_validation/rules/directives_are_defined_spec.rb
|
894
|
-
- spec/graphql/static_validation/rules/directives_are_in_valid_locations_spec.rb
|
895
|
-
- spec/graphql/static_validation/rules/fields_are_defined_on_type_spec.rb
|
896
|
-
- spec/graphql/static_validation/rules/fields_have_appropriate_selections_spec.rb
|
897
|
-
- spec/graphql/static_validation/rules/fields_will_merge_spec.rb
|
898
|
-
- spec/graphql/static_validation/rules/fragment_names_are_unique_spec.rb
|
899
|
-
- spec/graphql/static_validation/rules/fragment_spreads_are_possible_spec.rb
|
900
|
-
- spec/graphql/static_validation/rules/fragment_types_exist_spec.rb
|
901
|
-
- spec/graphql/static_validation/rules/fragments_are_finite_spec.rb
|
902
|
-
- spec/graphql/static_validation/rules/fragments_are_named_spec.rb
|
903
|
-
- spec/graphql/static_validation/rules/fragments_are_on_composite_types_spec.rb
|
904
|
-
- spec/graphql/static_validation/rules/fragments_are_used_spec.rb
|
905
|
-
- spec/graphql/static_validation/rules/mutation_root_exists_spec.rb
|
906
|
-
- spec/graphql/static_validation/rules/no_definitions_are_present_spec.rb
|
907
|
-
- spec/graphql/static_validation/rules/operation_names_are_valid_spec.rb
|
908
|
-
- spec/graphql/static_validation/rules/required_arguments_are_present_spec.rb
|
909
|
-
- spec/graphql/static_validation/rules/required_input_object_attributes_are_present_spec.rb
|
910
|
-
- spec/graphql/static_validation/rules/subscription_root_exists_spec.rb
|
911
|
-
- spec/graphql/static_validation/rules/unique_directives_per_location_spec.rb
|
912
|
-
- spec/graphql/static_validation/rules/variable_default_values_are_correctly_typed_spec.rb
|
913
|
-
- spec/graphql/static_validation/rules/variable_names_are_unique_spec.rb
|
914
|
-
- spec/graphql/static_validation/rules/variable_usages_are_allowed_spec.rb
|
915
|
-
- spec/graphql/static_validation/rules/variables_are_input_types_spec.rb
|
916
|
-
- spec/graphql/static_validation/rules/variables_are_used_and_defined_spec.rb
|
917
|
-
- spec/graphql/static_validation/type_stack_spec.rb
|
918
|
-
- spec/graphql/static_validation/validator_spec.rb
|
919
|
-
- spec/graphql/string_type_spec.rb
|
920
|
-
- spec/graphql/subscriptions/serialize_spec.rb
|
921
|
-
- spec/graphql/subscriptions_spec.rb
|
922
|
-
- spec/graphql/tracing/new_relic_tracing_spec.rb
|
923
|
-
- spec/graphql/tracing/platform_tracing_spec.rb
|
924
|
-
- spec/graphql/tracing/prometheus_tracing_spec.rb
|
925
|
-
- spec/graphql/tracing/scout_tracing_spec.rb
|
926
|
-
- spec/graphql/tracing/skylight_tracing_spec.rb
|
927
|
-
- spec/graphql/tracing_spec.rb
|
928
|
-
- spec/graphql/types/big_int_spec.rb
|
929
|
-
- spec/graphql/types/iso_8601_date_time_spec.rb
|
930
|
-
- spec/graphql/types/relay/base_edge_spec.rb
|
931
|
-
- spec/graphql/union_type_spec.rb
|
932
|
-
- spec/graphql/upgrader/member_spec.rb
|
933
|
-
- spec/graphql/upgrader/schema_spec.rb
|
934
|
-
- spec/integration/mongoid/graphql/relay/mongo_relation_connection_spec.rb
|
935
|
-
- spec/integration/mongoid/spec_helper.rb
|
936
|
-
- spec/integration/mongoid/star_trek/data.rb
|
937
|
-
- spec/integration/mongoid/star_trek/schema.rb
|
938
|
-
- spec/integration/rails/data.rb
|
939
|
-
- spec/integration/rails/generators/base_generator_test.rb
|
940
|
-
- spec/integration/rails/generators/graphql/enum_generator_spec.rb
|
941
|
-
- spec/integration/rails/generators/graphql/install_generator_spec.rb
|
942
|
-
- spec/integration/rails/generators/graphql/interface_generator_spec.rb
|
943
|
-
- spec/integration/rails/generators/graphql/loader_generator_spec.rb
|
944
|
-
- spec/integration/rails/generators/graphql/mutation_generator_spec.rb
|
945
|
-
- spec/integration/rails/generators/graphql/object_generator_spec.rb
|
946
|
-
- spec/integration/rails/generators/graphql/scalar_generator_spec.rb
|
947
|
-
- spec/integration/rails/generators/graphql/union_generator_spec.rb
|
948
|
-
- spec/integration/rails/graphql/input_object_spec.rb
|
949
|
-
- spec/integration/rails/graphql/input_object_type_spec.rb
|
950
|
-
- spec/integration/rails/graphql/query/variables_spec.rb
|
951
|
-
- spec/integration/rails/graphql/relay/array_connection_spec.rb
|
952
|
-
- spec/integration/rails/graphql/relay/base_connection_spec.rb
|
953
|
-
- spec/integration/rails/graphql/relay/connection_instrumentation_spec.rb
|
954
|
-
- spec/integration/rails/graphql/relay/connection_resolve_spec.rb
|
955
|
-
- spec/integration/rails/graphql/relay/connection_type_spec.rb
|
956
|
-
- spec/integration/rails/graphql/relay/edge_spec.rb
|
957
|
-
- spec/integration/rails/graphql/relay/mutation_spec.rb
|
958
|
-
- spec/integration/rails/graphql/relay/node_spec.rb
|
959
|
-
- spec/integration/rails/graphql/relay/page_info_spec.rb
|
960
|
-
- spec/integration/rails/graphql/relay/range_add_spec.rb
|
961
|
-
- spec/integration/rails/graphql/relay/relation_connection_spec.rb
|
962
|
-
- spec/integration/rails/graphql/schema_spec.rb
|
963
|
-
- spec/integration/rails/graphql/tracing/active_support_notifications_tracing_spec.rb
|
964
|
-
- spec/integration/rails/spec_helper.rb
|
965
|
-
- spec/spec_helper.rb
|
966
|
-
- spec/support/dummy/data.rb
|
967
|
-
- spec/support/dummy/schema.rb
|
968
|
-
- spec/support/error_bubbling_helpers.rb
|
969
|
-
- spec/support/global_id.rb
|
970
|
-
- spec/support/jazz.rb
|
971
|
-
- spec/support/lazy_helpers.rb
|
972
|
-
- spec/support/magic_cards/schema.graphql
|
973
|
-
- spec/support/minimum_input_object.rb
|
974
|
-
- spec/support/new_relic.rb
|
975
|
-
- spec/support/parser/filename_example.graphql
|
976
|
-
- spec/support/parser/filename_example_error_1.graphql
|
977
|
-
- spec/support/parser/filename_example_error_2.graphql
|
978
|
-
- spec/support/parser/filename_example_invalid_utf8.graphql
|
979
|
-
- spec/support/skylight.rb
|
980
|
-
- spec/support/star_wars/schema.rb
|
981
|
-
- spec/support/static_validation_helpers.rb
|
982
707
|
homepage: https://github.com/rmosolgo/graphql-ruby
|
983
708
|
licenses:
|
984
709
|
- MIT
|
@@ -1003,284 +728,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1003
728
|
- !ruby/object:Gem::Version
|
1004
729
|
version: '0'
|
1005
730
|
requirements: []
|
1006
|
-
rubygems_version: 3.0.
|
731
|
+
rubygems_version: 3.0.3
|
1007
732
|
signing_key:
|
1008
733
|
specification_version: 4
|
1009
734
|
summary: A GraphQL language and runtime for Ruby
|
1010
|
-
test_files:
|
1011
|
-
- spec/spec_helper.rb
|
1012
|
-
- spec/dummy/app/jobs/application_job.rb
|
1013
|
-
- spec/dummy/app/controllers/application_controller.rb
|
1014
|
-
- spec/dummy/app/controllers/pages_controller.rb
|
1015
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
1016
|
-
- spec/dummy/app/views/pages/show.html
|
1017
|
-
- spec/dummy/app/assets/config/manifest.js
|
1018
|
-
- spec/dummy/app/assets/javascripts/application.js
|
1019
|
-
- spec/dummy/app/helpers/application_helper.rb
|
1020
|
-
- spec/dummy/app/channels/application_cable/connection.rb
|
1021
|
-
- spec/dummy/app/channels/application_cable/channel.rb
|
1022
|
-
- spec/dummy/app/channels/graphql_channel.rb
|
1023
|
-
- spec/dummy/test/system/action_cable_subscription_test.rb
|
1024
|
-
- spec/dummy/test/application_system_test_case.rb
|
1025
|
-
- spec/dummy/test/test_helper.rb
|
1026
|
-
- spec/dummy/bin/update
|
1027
|
-
- spec/dummy/bin/rake
|
1028
|
-
- spec/dummy/bin/setup
|
1029
|
-
- spec/dummy/bin/bundle
|
1030
|
-
- spec/dummy/bin/yarn
|
1031
|
-
- spec/dummy/bin/rails
|
1032
|
-
- spec/dummy/config/secrets.yml
|
1033
|
-
- spec/dummy/config/routes.rb
|
1034
|
-
- spec/dummy/config/locales/en.yml
|
1035
|
-
- spec/dummy/config/cable.yml
|
1036
|
-
- spec/dummy/config/environments/production.rb
|
1037
|
-
- spec/dummy/config/environments/development.rb
|
1038
|
-
- spec/dummy/config/environments/test.rb
|
1039
|
-
- spec/dummy/config/environment.rb
|
1040
|
-
- spec/dummy/config/application.rb
|
1041
|
-
- spec/dummy/config/puma.rb
|
1042
|
-
- spec/dummy/config/boot.rb
|
1043
|
-
- spec/dummy/config/initializers/application_controller_renderer.rb
|
1044
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
1045
|
-
- spec/dummy/config/initializers/mime_types.rb
|
1046
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
1047
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
1048
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
1049
|
-
- spec/dummy/config/initializers/inflections.rb
|
1050
|
-
- spec/dummy/config.ru
|
1051
|
-
- spec/dummy/README.md
|
1052
|
-
- spec/dummy/Rakefile
|
1053
|
-
- spec/dummy/public/favicon.ico
|
1054
|
-
- spec/dummy/public/422.html
|
1055
|
-
- spec/dummy/public/apple-touch-icon.png
|
1056
|
-
- spec/dummy/public/500.html
|
1057
|
-
- spec/dummy/public/404.html
|
1058
|
-
- spec/dummy/public/apple-touch-icon-precomposed.png
|
1059
|
-
- spec/dummy/public/robots.txt
|
1060
|
-
- spec/dummy/package.json
|
1061
|
-
- spec/dummy/Gemfile
|
1062
|
-
- spec/integration/mongoid/spec_helper.rb
|
1063
|
-
- spec/integration/mongoid/star_trek/schema.rb
|
1064
|
-
- spec/integration/mongoid/star_trek/data.rb
|
1065
|
-
- spec/integration/mongoid/graphql/relay/mongo_relation_connection_spec.rb
|
1066
|
-
- spec/integration/rails/spec_helper.rb
|
1067
|
-
- spec/integration/rails/data.rb
|
1068
|
-
- spec/integration/rails/graphql/tracing/active_support_notifications_tracing_spec.rb
|
1069
|
-
- spec/integration/rails/graphql/input_object_type_spec.rb
|
1070
|
-
- spec/integration/rails/graphql/input_object_spec.rb
|
1071
|
-
- spec/integration/rails/graphql/relay/node_spec.rb
|
1072
|
-
- spec/integration/rails/graphql/relay/connection_resolve_spec.rb
|
1073
|
-
- spec/integration/rails/graphql/relay/range_add_spec.rb
|
1074
|
-
- spec/integration/rails/graphql/relay/connection_instrumentation_spec.rb
|
1075
|
-
- spec/integration/rails/graphql/relay/edge_spec.rb
|
1076
|
-
- spec/integration/rails/graphql/relay/array_connection_spec.rb
|
1077
|
-
- spec/integration/rails/graphql/relay/relation_connection_spec.rb
|
1078
|
-
- spec/integration/rails/graphql/relay/connection_type_spec.rb
|
1079
|
-
- spec/integration/rails/graphql/relay/mutation_spec.rb
|
1080
|
-
- spec/integration/rails/graphql/relay/base_connection_spec.rb
|
1081
|
-
- spec/integration/rails/graphql/relay/page_info_spec.rb
|
1082
|
-
- spec/integration/rails/graphql/query/variables_spec.rb
|
1083
|
-
- spec/integration/rails/graphql/schema_spec.rb
|
1084
|
-
- spec/integration/rails/generators/graphql/install_generator_spec.rb
|
1085
|
-
- spec/integration/rails/generators/graphql/scalar_generator_spec.rb
|
1086
|
-
- spec/integration/rails/generators/graphql/loader_generator_spec.rb
|
1087
|
-
- spec/integration/rails/generators/graphql/mutation_generator_spec.rb
|
1088
|
-
- spec/integration/rails/generators/graphql/interface_generator_spec.rb
|
1089
|
-
- spec/integration/rails/generators/graphql/enum_generator_spec.rb
|
1090
|
-
- spec/integration/rails/generators/graphql/union_generator_spec.rb
|
1091
|
-
- spec/integration/rails/generators/graphql/object_generator_spec.rb
|
1092
|
-
- spec/integration/rails/generators/base_generator_test.rb
|
1093
|
-
- spec/support/star_wars/schema.rb
|
1094
|
-
- spec/support/static_validation_helpers.rb
|
1095
|
-
- spec/support/dummy/schema.rb
|
1096
|
-
- spec/support/dummy/data.rb
|
1097
|
-
- spec/support/magic_cards/schema.graphql
|
1098
|
-
- spec/support/error_bubbling_helpers.rb
|
1099
|
-
- spec/support/new_relic.rb
|
1100
|
-
- spec/support/parser/filename_example_error_1.graphql
|
1101
|
-
- spec/support/parser/filename_example_invalid_utf8.graphql
|
1102
|
-
- spec/support/parser/filename_example_error_2.graphql
|
1103
|
-
- spec/support/parser/filename_example.graphql
|
1104
|
-
- spec/support/lazy_helpers.rb
|
1105
|
-
- spec/support/minimum_input_object.rb
|
1106
|
-
- spec/support/global_id.rb
|
1107
|
-
- spec/support/skylight.rb
|
1108
|
-
- spec/support/jazz.rb
|
1109
|
-
- spec/graphql/compatibility/query_parser_specification_spec.rb
|
1110
|
-
- spec/graphql/compatibility/execution_specification_spec.rb
|
1111
|
-
- spec/graphql/compatibility/schema_parser_specification_spec.rb
|
1112
|
-
- spec/graphql/compatibility/lazy_execution_specification_spec.rb
|
1113
|
-
- spec/graphql/float_type_spec.rb
|
1114
|
-
- spec/graphql/tracing/skylight_tracing_spec.rb
|
1115
|
-
- spec/graphql/tracing/prometheus_tracing_spec.rb
|
1116
|
-
- spec/graphql/tracing/new_relic_tracing_spec.rb
|
1117
|
-
- spec/graphql/tracing/scout_tracing_spec.rb
|
1118
|
-
- spec/graphql/tracing/platform_tracing_spec.rb
|
1119
|
-
- spec/graphql/boolean_type_spec.rb
|
1120
|
-
- spec/graphql/rake_task_spec.rb
|
1121
|
-
- spec/graphql/int_type_spec.rb
|
1122
|
-
- spec/graphql/types/iso_8601_date_time_spec.rb
|
1123
|
-
- spec/graphql/types/big_int_spec.rb
|
1124
|
-
- spec/graphql/types/relay/base_edge_spec.rb
|
1125
|
-
- spec/graphql/field_spec.rb
|
1126
|
-
- spec/graphql/analysis/max_query_depth_spec.rb
|
1127
|
-
- spec/graphql/analysis/max_query_complexity_spec.rb
|
1128
|
-
- spec/graphql/analysis/analyze_query_spec.rb
|
1129
|
-
- spec/graphql/analysis/query_depth_spec.rb
|
1130
|
-
- spec/graphql/analysis/field_usage_spec.rb
|
1131
|
-
- spec/graphql/analysis/ast/max_query_depth_spec.rb
|
1132
|
-
- spec/graphql/analysis/ast/max_query_complexity_spec.rb
|
1133
|
-
- spec/graphql/analysis/ast/query_depth_spec.rb
|
1134
|
-
- spec/graphql/analysis/ast/field_usage_spec.rb
|
1135
|
-
- spec/graphql/analysis/ast/query_complexity_spec.rb
|
1136
|
-
- spec/graphql/analysis/ast_spec.rb
|
1137
|
-
- spec/graphql/analysis/query_complexity_spec.rb
|
1138
|
-
- spec/graphql/backtrace_spec.rb
|
1139
|
-
- spec/graphql/execution_error_spec.rb
|
1140
|
-
- spec/graphql/define/instance_definable_spec.rb
|
1141
|
-
- spec/graphql/define/assign_argument_spec.rb
|
1142
|
-
- spec/graphql/input_object_type_spec.rb
|
1143
|
-
- spec/graphql/static_validation/validator_spec.rb
|
1144
|
-
- spec/graphql/static_validation/rules/mutation_root_exists_spec.rb
|
1145
|
-
- spec/graphql/static_validation/rules/no_definitions_are_present_spec.rb
|
1146
|
-
- spec/graphql/static_validation/rules/fragment_names_are_unique_spec.rb
|
1147
|
-
- spec/graphql/static_validation/rules/required_input_object_attributes_are_present_spec.rb
|
1148
|
-
- spec/graphql/static_validation/rules/arguments_are_defined_spec.rb
|
1149
|
-
- spec/graphql/static_validation/rules/fragment_types_exist_spec.rb
|
1150
|
-
- spec/graphql/static_validation/rules/fields_have_appropriate_selections_spec.rb
|
1151
|
-
- spec/graphql/static_validation/rules/variable_default_values_are_correctly_typed_spec.rb
|
1152
|
-
- spec/graphql/static_validation/rules/fragments_are_finite_spec.rb
|
1153
|
-
- spec/graphql/static_validation/rules/variables_are_used_and_defined_spec.rb
|
1154
|
-
- spec/graphql/static_validation/rules/variable_names_are_unique_spec.rb
|
1155
|
-
- spec/graphql/static_validation/rules/unique_directives_per_location_spec.rb
|
1156
|
-
- spec/graphql/static_validation/rules/directives_are_in_valid_locations_spec.rb
|
1157
|
-
- spec/graphql/static_validation/rules/fragments_are_named_spec.rb
|
1158
|
-
- spec/graphql/static_validation/rules/required_arguments_are_present_spec.rb
|
1159
|
-
- spec/graphql/static_validation/rules/fragments_are_on_composite_types_spec.rb
|
1160
|
-
- spec/graphql/static_validation/rules/variable_usages_are_allowed_spec.rb
|
1161
|
-
- spec/graphql/static_validation/rules/subscription_root_exists_spec.rb
|
1162
|
-
- spec/graphql/static_validation/rules/fields_are_defined_on_type_spec.rb
|
1163
|
-
- spec/graphql/static_validation/rules/fields_will_merge_spec.rb
|
1164
|
-
- spec/graphql/static_validation/rules/operation_names_are_valid_spec.rb
|
1165
|
-
- spec/graphql/static_validation/rules/argument_names_are_unique_spec.rb
|
1166
|
-
- spec/graphql/static_validation/rules/argument_literals_are_compatible_spec.rb
|
1167
|
-
- spec/graphql/static_validation/rules/directives_are_defined_spec.rb
|
1168
|
-
- spec/graphql/static_validation/rules/variables_are_input_types_spec.rb
|
1169
|
-
- spec/graphql/static_validation/rules/fragment_spreads_are_possible_spec.rb
|
1170
|
-
- spec/graphql/static_validation/rules/fragments_are_used_spec.rb
|
1171
|
-
- spec/graphql/static_validation/type_stack_spec.rb
|
1172
|
-
- spec/graphql/list_type_spec.rb
|
1173
|
-
- spec/graphql/authorization_spec.rb
|
1174
|
-
- spec/graphql/language/definition_slice_spec.rb
|
1175
|
-
- spec/graphql/language/document_from_schema_definition_spec.rb
|
1176
|
-
- spec/graphql/language/parser_spec.rb
|
1177
|
-
- spec/graphql/language/printer_spec.rb
|
1178
|
-
- spec/graphql/language/generation_spec.rb
|
1179
|
-
- spec/graphql/language/visitor_spec.rb
|
1180
|
-
- spec/graphql/language/equality_spec.rb
|
1181
|
-
- spec/graphql/language/nodes_spec.rb
|
1182
|
-
- spec/graphql/language/block_string_spec.rb
|
1183
|
-
- spec/graphql/language/lexer_spec.rb
|
1184
|
-
- spec/graphql/introspection/introspection_query_spec.rb
|
1185
|
-
- spec/graphql/introspection/input_value_type_spec.rb
|
1186
|
-
- spec/graphql/introspection/schema_type_spec.rb
|
1187
|
-
- spec/graphql/introspection/directive_type_spec.rb
|
1188
|
-
- spec/graphql/introspection/type_type_spec.rb
|
1189
|
-
- spec/graphql/directive_spec.rb
|
1190
|
-
- spec/graphql/object_type_spec.rb
|
1191
|
-
- spec/graphql/subscriptions/serialize_spec.rb
|
1192
|
-
- spec/graphql/union_type_spec.rb
|
1193
|
-
- spec/graphql/schema/catchall_middleware_spec.rb
|
1194
|
-
- spec/graphql/schema/rescue_middleware_spec.rb
|
1195
|
-
- spec/graphql/schema/warden_spec.rb
|
1196
|
-
- spec/graphql/schema/loader_spec.rb
|
1197
|
-
- spec/graphql/schema/unique_within_type_spec.rb
|
1198
|
-
- spec/graphql/schema/field_spec.rb
|
1199
|
-
- spec/graphql/schema/validation_spec.rb
|
1200
|
-
- spec/graphql/schema/enum_value_spec.rb
|
1201
|
-
- spec/graphql/schema/list_spec.rb
|
1202
|
-
- spec/graphql/schema/scalar_spec.rb
|
1203
|
-
- spec/graphql/schema/object_spec.rb
|
1204
|
-
- spec/graphql/schema/middleware_chain_spec.rb
|
1205
|
-
- spec/graphql/schema/field_extension_spec.rb
|
1206
|
-
- spec/graphql/schema/build_from_definition_spec.rb
|
1207
|
-
- spec/graphql/schema/finder_spec.rb
|
1208
|
-
- spec/graphql/schema/enum_spec.rb
|
1209
|
-
- spec/graphql/schema/member/type_system_helpers_spec.rb
|
1210
|
-
- spec/graphql/schema/member/accepts_definition_spec.rb
|
1211
|
-
- spec/graphql/schema/member/build_type_spec.rb
|
1212
|
-
- spec/graphql/schema/member/scoped_spec.rb
|
1213
|
-
- spec/graphql/schema/instrumentation_spec.rb
|
1214
|
-
- spec/graphql/schema/timeout_middleware_spec.rb
|
1215
|
-
- spec/graphql/schema/traversal_spec.rb
|
1216
|
-
- spec/graphql/schema/type_expression_spec.rb
|
1217
|
-
- spec/graphql/schema/non_null_spec.rb
|
1218
|
-
- spec/graphql/schema/input_object_spec.rb
|
1219
|
-
- spec/graphql/schema/timeout_spec.rb
|
1220
|
-
- spec/graphql/schema/printer_spec.rb
|
1221
|
-
- spec/graphql/schema/directive/feature_spec.rb
|
1222
|
-
- spec/graphql/schema/directive/transform_spec.rb
|
1223
|
-
- spec/graphql/schema/mutation_spec.rb
|
1224
|
-
- spec/graphql/schema/resolver_spec.rb
|
1225
|
-
- spec/graphql/schema/relay_classic_mutation_spec.rb
|
1226
|
-
- spec/graphql/schema/subscription_spec.rb
|
1227
|
-
- spec/graphql/schema/introspection_system_spec.rb
|
1228
|
-
- spec/graphql/schema/argument_spec.rb
|
1229
|
-
- spec/graphql/schema/union_spec.rb
|
1230
|
-
- spec/graphql/schema/interface_spec.rb
|
1231
|
-
- spec/graphql/directive/skip_directive_spec.rb
|
1232
|
-
- spec/graphql/non_null_type_spec.rb
|
1233
|
-
- spec/graphql/base_type_spec.rb
|
1234
|
-
- spec/graphql/execution/lookahead_spec.rb
|
1235
|
-
- spec/graphql/execution/execute_spec.rb
|
1236
|
-
- spec/graphql/execution/instrumentation_spec.rb
|
1237
|
-
- spec/graphql/execution/interpreter_spec.rb
|
1238
|
-
- spec/graphql/execution/multiplex_spec.rb
|
1239
|
-
- spec/graphql/execution/typecast_spec.rb
|
1240
|
-
- spec/graphql/execution/lazy/lazy_method_map_spec.rb
|
1241
|
-
- spec/graphql/execution/lazy_spec.rb
|
1242
|
-
- spec/graphql/upgrader/schema_spec.rb
|
1243
|
-
- spec/graphql/upgrader/member_spec.rb
|
1244
|
-
- spec/graphql/internal_representation/print_spec.rb
|
1245
|
-
- spec/graphql/internal_representation/rewrite_spec.rb
|
1246
|
-
- spec/graphql/tracing_spec.rb
|
1247
|
-
- spec/graphql/scalar_type_spec.rb
|
1248
|
-
- spec/graphql/argument_spec.rb
|
1249
|
-
- spec/graphql/interface_type_spec.rb
|
1250
|
-
- spec/graphql/function_spec.rb
|
1251
|
-
- spec/graphql/query_spec.rb
|
1252
|
-
- spec/graphql/query/context_spec.rb
|
1253
|
-
- spec/graphql/query/serial_execution/value_resolution_spec.rb
|
1254
|
-
- spec/graphql/query/result_spec.rb
|
1255
|
-
- spec/graphql/query/literal_input_spec.rb
|
1256
|
-
- spec/graphql/query/executor_spec.rb
|
1257
|
-
- spec/graphql/query/arguments_spec.rb
|
1258
|
-
- spec/graphql/string_type_spec.rb
|
1259
|
-
- spec/graphql/schema_spec.rb
|
1260
|
-
- spec/graphql/enum_type_spec.rb
|
1261
|
-
- spec/graphql/subscriptions_spec.rb
|
1262
|
-
- spec/graphql/id_type_spec.rb
|
1263
|
-
- spec/fixtures/upgrader/type_x.transformed.rb
|
1264
|
-
- spec/fixtures/upgrader/delete_project.transformed.rb
|
1265
|
-
- spec/fixtures/upgrader/gist_order_field.original.rb
|
1266
|
-
- spec/fixtures/upgrader/photo.transformed.rb
|
1267
|
-
- spec/fixtures/upgrader/subscribable.transformed.rb
|
1268
|
-
- spec/fixtures/upgrader/subscribable.original.rb
|
1269
|
-
- spec/fixtures/upgrader/delete_project.original.rb
|
1270
|
-
- spec/fixtures/upgrader/mutation.original.rb
|
1271
|
-
- spec/fixtures/upgrader/starrable.transformed.rb
|
1272
|
-
- spec/fixtures/upgrader/release_order.original.rb
|
1273
|
-
- spec/fixtures/upgrader/increment_count.original.rb
|
1274
|
-
- spec/fixtures/upgrader/account.transformed.rb
|
1275
|
-
- spec/fixtures/upgrader/photo.original.rb
|
1276
|
-
- spec/fixtures/upgrader/starrable.original.rb
|
1277
|
-
- spec/fixtures/upgrader/increment_count.transformed.rb
|
1278
|
-
- spec/fixtures/upgrader/mutation.transformed.rb
|
1279
|
-
- spec/fixtures/upgrader/date_time.transformed.rb
|
1280
|
-
- spec/fixtures/upgrader/type_x.original.rb
|
1281
|
-
- spec/fixtures/upgrader/blame_range.transformed.rb
|
1282
|
-
- spec/fixtures/upgrader/release_order.transformed.rb
|
1283
|
-
- spec/fixtures/upgrader/date_time.original.rb
|
1284
|
-
- spec/fixtures/upgrader/blame_range.original.rb
|
1285
|
-
- spec/fixtures/upgrader/gist_order_field.transformed.rb
|
1286
|
-
- spec/fixtures/upgrader/account.original.rb
|
735
|
+
test_files: []
|