graphql 2.0.31 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/generators/graphql/detailed_trace_generator.rb +77 -0
- data/lib/generators/graphql/install/mutation_root_generator.rb +2 -2
- data/lib/generators/graphql/install/templates/base_mutation.erb +2 -0
- data/lib/generators/graphql/install/templates/mutation_type.erb +2 -0
- data/lib/generators/graphql/install_generator.rb +49 -0
- data/lib/generators/graphql/orm_mutations_base.rb +1 -1
- data/lib/generators/graphql/templates/base_argument.erb +2 -0
- data/lib/generators/graphql/templates/base_connection.erb +2 -0
- data/lib/generators/graphql/templates/base_edge.erb +2 -0
- data/lib/generators/graphql/templates/base_enum.erb +2 -0
- data/lib/generators/graphql/templates/base_field.erb +2 -0
- data/lib/generators/graphql/templates/base_input_object.erb +2 -0
- data/lib/generators/graphql/templates/base_interface.erb +2 -0
- data/lib/generators/graphql/templates/base_object.erb +2 -0
- data/lib/generators/graphql/templates/base_resolver.erb +8 -0
- data/lib/generators/graphql/templates/base_scalar.erb +2 -0
- data/lib/generators/graphql/templates/base_union.erb +2 -0
- data/lib/generators/graphql/templates/create_graphql_detailed_traces.erb +10 -0
- data/lib/generators/graphql/templates/graphql_controller.erb +2 -0
- data/lib/generators/graphql/templates/loader.erb +2 -0
- data/lib/generators/graphql/templates/mutation.erb +2 -0
- data/lib/generators/graphql/templates/node_type.erb +2 -0
- data/lib/generators/graphql/templates/query_type.erb +2 -0
- data/lib/generators/graphql/templates/schema.erb +5 -0
- data/lib/generators/graphql/type_generator.rb +1 -1
- data/lib/graphql/analysis/analyzer.rb +90 -0
- data/lib/graphql/analysis/field_usage.rb +82 -0
- data/lib/graphql/analysis/max_query_complexity.rb +20 -0
- data/lib/graphql/analysis/max_query_depth.rb +20 -0
- data/lib/graphql/analysis/query_complexity.rb +263 -0
- data/lib/graphql/analysis/query_depth.rb +58 -0
- data/lib/graphql/analysis/visitor.rb +280 -0
- data/lib/graphql/analysis.rb +102 -1
- data/lib/graphql/autoload.rb +38 -0
- data/lib/graphql/backtrace/table.rb +118 -55
- data/lib/graphql/backtrace.rb +1 -19
- data/lib/graphql/coercion_error.rb +1 -9
- data/lib/graphql/current.rb +57 -0
- data/lib/graphql/dashboard/application_controller.rb +41 -0
- data/lib/graphql/dashboard/detailed_traces.rb +47 -0
- data/lib/graphql/dashboard/installable.rb +22 -0
- data/lib/graphql/dashboard/landings_controller.rb +9 -0
- data/lib/graphql/dashboard/limiters.rb +93 -0
- data/lib/graphql/dashboard/operation_store.rb +199 -0
- data/lib/graphql/dashboard/statics/bootstrap-5.3.3.min.css +6 -0
- data/lib/graphql/dashboard/statics/bootstrap-5.3.3.min.js +7 -0
- data/lib/graphql/dashboard/statics/charts.min.css +1 -0
- data/lib/graphql/dashboard/statics/dashboard.css +30 -0
- data/lib/graphql/dashboard/statics/dashboard.js +143 -0
- data/lib/graphql/dashboard/statics/header-icon.png +0 -0
- data/lib/graphql/dashboard/statics/icon.png +0 -0
- data/lib/graphql/dashboard/statics_controller.rb +31 -0
- data/lib/graphql/dashboard/subscriptions.rb +97 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/detailed_traces/traces/index.html.erb +45 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/landings/show.html.erb +18 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/limiters/limiters/show.html.erb +62 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/not_installed.html.erb +18 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/operation_store/clients/_form.html.erb +24 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/operation_store/clients/edit.html.erb +21 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/operation_store/clients/index.html.erb +69 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/operation_store/clients/new.html.erb +7 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/operation_store/index_entries/index.html.erb +39 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/operation_store/index_entries/show.html.erb +32 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/operation_store/operations/index.html.erb +81 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/operation_store/operations/show.html.erb +71 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/subscriptions/subscriptions/show.html.erb +41 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/subscriptions/topics/index.html.erb +55 -0
- data/lib/graphql/dashboard/views/graphql/dashboard/subscriptions/topics/show.html.erb +40 -0
- data/lib/graphql/dashboard/views/layouts/graphql/dashboard/application.html.erb +108 -0
- data/lib/graphql/dashboard.rb +96 -0
- data/lib/graphql/dataloader/active_record_association_source.rb +84 -0
- data/lib/graphql/dataloader/active_record_source.rb +47 -0
- data/lib/graphql/dataloader/async_dataloader.rb +112 -0
- data/lib/graphql/dataloader/null_dataloader.rb +55 -10
- data/lib/graphql/dataloader/request.rb +5 -0
- data/lib/graphql/dataloader/source.rb +35 -12
- data/lib/graphql/dataloader.rb +224 -149
- data/lib/graphql/date_encoding_error.rb +1 -1
- data/lib/graphql/dig.rb +2 -1
- data/lib/graphql/duration_encoding_error.rb +16 -0
- data/lib/graphql/execution/field_resolve_step.rb +631 -0
- data/lib/graphql/execution/finalize.rb +217 -0
- data/lib/graphql/execution/input_values.rb +261 -0
- data/lib/graphql/execution/interpreter/argument_value.rb +5 -1
- data/lib/graphql/execution/interpreter/arguments_cache.rb +5 -10
- data/lib/graphql/execution/interpreter/handles_raw_value.rb +6 -0
- data/lib/graphql/execution/interpreter/resolve.rb +23 -25
- data/lib/graphql/execution/interpreter/runtime/graphql_result.rb +228 -0
- data/lib/graphql/execution/interpreter/runtime.rb +365 -435
- data/lib/graphql/execution/interpreter.rb +87 -163
- data/lib/graphql/execution/lazy.rb +1 -1
- data/lib/graphql/execution/load_argument_step.rb +64 -0
- data/lib/graphql/execution/lookahead.rb +105 -31
- data/lib/graphql/execution/multiplex.rb +7 -6
- data/lib/graphql/execution/next.rb +90 -0
- data/lib/graphql/execution/prepare_object_step.rb +128 -0
- data/lib/graphql/execution/runner.rb +410 -0
- data/lib/graphql/execution/selections_step.rb +91 -0
- data/lib/graphql/execution.rb +8 -4
- data/lib/graphql/execution_error.rb +17 -10
- data/lib/graphql/introspection/directive_location_enum.rb +1 -1
- data/lib/graphql/introspection/directive_type.rb +7 -3
- data/lib/graphql/introspection/dynamic_fields.rb +5 -1
- data/lib/graphql/introspection/entry_points.rb +20 -6
- data/lib/graphql/introspection/enum_value_type.rb +5 -5
- data/lib/graphql/introspection/field_type.rb +13 -5
- data/lib/graphql/introspection/input_value_type.rb +21 -13
- data/lib/graphql/introspection/schema_type.rb +8 -11
- data/lib/graphql/introspection/type_type.rb +64 -28
- data/lib/graphql/invalid_name_error.rb +1 -1
- data/lib/graphql/invalid_null_error.rb +26 -17
- data/lib/graphql/language/block_string.rb +34 -18
- data/lib/graphql/language/cache.rb +13 -0
- data/lib/graphql/language/comment.rb +18 -0
- data/lib/graphql/language/definition_slice.rb +1 -1
- data/lib/graphql/language/document_from_schema_definition.rb +90 -61
- data/lib/graphql/language/lexer.rb +323 -193
- data/lib/graphql/language/nodes.rb +139 -77
- data/lib/graphql/language/parser.rb +807 -1985
- data/lib/graphql/language/printer.rb +324 -151
- data/lib/graphql/language/sanitized_printer.rb +21 -23
- data/lib/graphql/language/static_visitor.rb +171 -0
- data/lib/graphql/language/visitor.rb +62 -119
- data/lib/graphql/language.rb +71 -1
- data/lib/graphql/load_application_object_failed_error.rb +5 -1
- data/lib/graphql/pagination/array_connection.rb +6 -6
- data/lib/graphql/pagination/connection.rb +30 -1
- data/lib/graphql/pagination/connections.rb +32 -0
- data/lib/graphql/pagination/mongoid_relation_connection.rb +1 -2
- data/lib/graphql/query/context/scoped_context.rb +101 -0
- data/lib/graphql/query/context.rb +88 -144
- data/lib/graphql/query/null_context.rb +15 -18
- data/lib/graphql/query/partial.rb +194 -0
- data/lib/graphql/query/validation_pipeline.rb +4 -4
- data/lib/graphql/query/variable_validation_error.rb +1 -1
- data/lib/graphql/query/variables.rb +3 -3
- data/lib/graphql/query.rb +135 -81
- data/lib/graphql/railtie.rb +16 -6
- data/lib/graphql/rake_task.rb +3 -12
- data/lib/graphql/rubocop/graphql/base_cop.rb +1 -1
- data/lib/graphql/rubocop/graphql/field_type_in_block.rb +144 -0
- data/lib/graphql/rubocop/graphql/root_types_in_block.rb +38 -0
- data/lib/graphql/rubocop.rb +2 -0
- data/lib/graphql/runtime_error.rb +6 -0
- data/lib/graphql/schema/addition.rb +26 -13
- data/lib/graphql/schema/always_visible.rb +7 -2
- data/lib/graphql/schema/argument.rb +78 -14
- data/lib/graphql/schema/base_64_encoder.rb +3 -5
- data/lib/graphql/schema/build_from_definition.rb +140 -66
- data/lib/graphql/schema/directive/flagged.rb +4 -2
- data/lib/graphql/schema/directive/one_of.rb +12 -0
- data/lib/graphql/schema/directive/specified_by.rb +14 -0
- data/lib/graphql/schema/directive.rb +78 -12
- data/lib/graphql/schema/enum.rb +110 -27
- data/lib/graphql/schema/enum_value.rb +11 -3
- data/lib/graphql/schema/field/connection_extension.rb +4 -51
- data/lib/graphql/schema/field/scope_extension.rb +19 -7
- data/lib/graphql/schema/field.rb +245 -119
- data/lib/graphql/schema/field_extension.rb +12 -9
- data/lib/graphql/schema/has_single_input_argument.rb +160 -0
- data/lib/graphql/schema/input_object.rb +123 -65
- data/lib/graphql/schema/interface.rb +60 -16
- data/lib/graphql/schema/introspection_system.rb +8 -17
- data/lib/graphql/schema/late_bound_type.rb +4 -0
- data/lib/graphql/schema/list.rb +8 -4
- data/lib/graphql/schema/loader.rb +3 -4
- data/lib/graphql/schema/member/base_dsl_methods.rb +18 -12
- data/lib/graphql/schema/member/has_arguments.rb +132 -100
- data/lib/graphql/schema/member/has_authorization.rb +35 -0
- data/lib/graphql/schema/member/has_dataloader.rb +99 -0
- data/lib/graphql/schema/member/has_deprecation_reason.rb +15 -0
- data/lib/graphql/schema/member/has_directives.rb +5 -5
- data/lib/graphql/schema/member/has_fields.rb +121 -17
- data/lib/graphql/schema/member/has_interfaces.rb +27 -13
- data/lib/graphql/schema/member/has_unresolved_type_error.rb +5 -1
- data/lib/graphql/schema/member/has_validators.rb +1 -1
- data/lib/graphql/schema/member/relay_shortcuts.rb +1 -1
- data/lib/graphql/schema/member/scoped.rb +19 -0
- data/lib/graphql/schema/member/type_system_helpers.rb +18 -5
- data/lib/graphql/schema/member/validates_input.rb +3 -3
- data/lib/graphql/schema/member.rb +6 -0
- data/lib/graphql/schema/mutation.rb +7 -0
- data/lib/graphql/schema/non_null.rb +1 -1
- data/lib/graphql/schema/object.rb +34 -8
- data/lib/graphql/schema/printer.rb +9 -7
- data/lib/graphql/schema/ractor_shareable.rb +79 -0
- data/lib/graphql/schema/relay_classic_mutation.rb +6 -129
- data/lib/graphql/schema/resolver.rb +128 -32
- data/lib/graphql/schema/scalar.rb +4 -9
- data/lib/graphql/schema/subscription.rb +63 -12
- data/lib/graphql/schema/timeout.rb +19 -2
- data/lib/graphql/schema/type_expression.rb +2 -2
- data/lib/graphql/schema/union.rb +2 -2
- data/lib/graphql/schema/unique_within_type.rb +1 -1
- data/lib/graphql/schema/validator/all_validator.rb +62 -0
- data/lib/graphql/schema/validator/required_validator.rb +92 -11
- data/lib/graphql/schema/validator.rb +3 -1
- data/lib/graphql/schema/visibility/migration.rb +188 -0
- data/lib/graphql/schema/visibility/profile.rb +464 -0
- data/lib/graphql/schema/visibility/visit.rb +190 -0
- data/lib/graphql/schema/visibility.rb +311 -0
- data/lib/graphql/schema/warden.rb +275 -103
- data/lib/graphql/schema/wrapper.rb +7 -1
- data/lib/graphql/schema.rb +954 -212
- data/lib/graphql/static_validation/all_rules.rb +3 -3
- data/lib/graphql/static_validation/base_visitor.rb +96 -71
- data/lib/graphql/static_validation/literal_validator.rb +6 -7
- data/lib/graphql/static_validation/rules/argument_literals_are_compatible.rb +2 -2
- data/lib/graphql/static_validation/rules/argument_names_are_unique.rb +18 -6
- data/lib/graphql/static_validation/rules/arguments_are_defined.rb +6 -2
- data/lib/graphql/static_validation/rules/directives_are_defined.rb +6 -3
- data/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb +2 -0
- data/lib/graphql/static_validation/rules/fields_are_defined_on_type.rb +14 -3
- data/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb +59 -15
- data/lib/graphql/static_validation/rules/fields_will_merge.rb +391 -262
- data/lib/graphql/static_validation/rules/fields_will_merge_error.rb +10 -2
- data/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb +6 -6
- data/lib/graphql/static_validation/rules/fragment_types_exist.rb +15 -2
- data/lib/graphql/static_validation/rules/fragments_are_on_composite_types.rb +1 -1
- data/lib/graphql/static_validation/rules/mutation_root_exists.rb +1 -1
- data/lib/graphql/static_validation/rules/no_definitions_are_present.rb +1 -1
- data/lib/graphql/static_validation/rules/not_single_subscription_error.rb +25 -0
- data/lib/graphql/static_validation/rules/query_root_exists.rb +1 -1
- data/lib/graphql/static_validation/rules/required_arguments_are_present.rb +28 -8
- data/lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb +5 -5
- data/lib/graphql/static_validation/rules/subscription_root_exists_and_single_subscription_selection.rb +26 -0
- data/lib/graphql/static_validation/rules/unique_directives_per_location.rb +7 -3
- data/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb +18 -27
- data/lib/graphql/static_validation/rules/variable_names_are_unique.rb +1 -1
- data/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb +2 -2
- data/lib/graphql/static_validation/rules/variables_are_input_types.rb +14 -2
- data/lib/graphql/static_validation/validation_context.rb +22 -6
- data/lib/graphql/static_validation/validator.rb +9 -1
- data/lib/graphql/static_validation.rb +0 -1
- data/lib/graphql/subscriptions/action_cable_subscriptions.rb +8 -5
- data/lib/graphql/subscriptions/broadcast_analyzer.rb +11 -5
- data/lib/graphql/subscriptions/default_subscription_resolve_extension.rb +45 -19
- data/lib/graphql/subscriptions/event.rb +22 -4
- data/lib/graphql/subscriptions/serialize.rb +3 -1
- data/lib/graphql/subscriptions.rb +56 -17
- data/lib/graphql/testing/helpers.rb +161 -0
- data/lib/graphql/testing/mock_action_cable.rb +111 -0
- data/lib/graphql/testing.rb +3 -0
- data/lib/graphql/tracing/active_support_notifications_trace.rb +14 -3
- data/lib/graphql/tracing/active_support_notifications_tracing.rb +1 -1
- data/lib/graphql/tracing/appoptics_trace.rb +11 -3
- data/lib/graphql/tracing/appoptics_tracing.rb +9 -2
- data/lib/graphql/tracing/appsignal_trace.rb +32 -55
- data/lib/graphql/tracing/appsignal_tracing.rb +2 -0
- data/lib/graphql/tracing/call_legacy_tracers.rb +66 -0
- data/lib/graphql/tracing/data_dog_trace.rb +46 -158
- data/lib/graphql/tracing/data_dog_tracing.rb +2 -0
- data/lib/graphql/tracing/detailed_trace/active_record_backend.rb +74 -0
- data/lib/graphql/tracing/detailed_trace/memory_backend.rb +60 -0
- data/lib/graphql/tracing/detailed_trace/redis_backend.rb +72 -0
- data/lib/graphql/tracing/detailed_trace.rb +156 -0
- data/lib/graphql/tracing/legacy_hooks_trace.rb +75 -0
- data/lib/graphql/tracing/legacy_trace.rb +4 -61
- data/lib/graphql/tracing/monitor_trace.rb +283 -0
- data/lib/graphql/tracing/new_relic_trace.rb +47 -54
- data/lib/graphql/tracing/new_relic_tracing.rb +2 -0
- data/lib/graphql/tracing/notifications_trace.rb +184 -34
- data/lib/graphql/tracing/notifications_tracing.rb +2 -0
- data/lib/graphql/tracing/null_trace.rb +9 -0
- data/lib/graphql/tracing/perfetto_trace/trace.proto +141 -0
- data/lib/graphql/tracing/perfetto_trace/trace_pb.rb +33 -0
- data/lib/graphql/tracing/perfetto_trace.rb +864 -0
- data/lib/graphql/tracing/platform_trace.rb +5 -0
- data/lib/graphql/tracing/platform_tracing.rb +3 -1
- data/lib/graphql/tracing/{prometheus_tracing → prometheus_trace}/graphql_collector.rb +5 -1
- data/lib/graphql/tracing/prometheus_trace.rb +72 -68
- data/lib/graphql/tracing/prometheus_tracing.rb +2 -0
- data/lib/graphql/tracing/scout_trace.rb +32 -55
- data/lib/graphql/tracing/scout_tracing.rb +2 -0
- data/lib/graphql/tracing/sentry_trace.rb +82 -0
- data/lib/graphql/tracing/statsd_trace.rb +33 -41
- data/lib/graphql/tracing/statsd_tracing.rb +2 -0
- data/lib/graphql/tracing/trace.rb +118 -1
- data/lib/graphql/tracing.rb +31 -28
- data/lib/graphql/type_kinds.rb +2 -1
- data/lib/graphql/types/iso_8601_duration.rb +77 -0
- data/lib/graphql/types/relay/connection_behaviors.rb +45 -3
- data/lib/graphql/types/relay/edge_behaviors.rb +19 -1
- data/lib/graphql/types/relay/has_node_field.rb +13 -8
- data/lib/graphql/types/relay/has_nodes_field.rb +13 -8
- data/lib/graphql/types/relay/node_behaviors.rb +13 -2
- data/lib/graphql/types/relay/page_info_behaviors.rb +4 -0
- data/lib/graphql/types.rb +18 -10
- data/lib/graphql/unauthorized_enum_value_error.rb +13 -0
- data/lib/graphql/unauthorized_error.rb +9 -1
- data/lib/graphql/version.rb +1 -1
- data/lib/graphql.rb +69 -54
- data/readme.md +12 -2
- metadata +236 -40
- data/lib/graphql/analysis/ast/analyzer.rb +0 -84
- data/lib/graphql/analysis/ast/field_usage.rb +0 -57
- data/lib/graphql/analysis/ast/max_query_complexity.rb +0 -22
- data/lib/graphql/analysis/ast/max_query_depth.rb +0 -22
- data/lib/graphql/analysis/ast/query_complexity.rb +0 -230
- data/lib/graphql/analysis/ast/query_depth.rb +0 -55
- data/lib/graphql/analysis/ast/visitor.rb +0 -276
- data/lib/graphql/analysis/ast.rb +0 -81
- data/lib/graphql/backtrace/inspect_result.rb +0 -50
- data/lib/graphql/backtrace/trace.rb +0 -96
- data/lib/graphql/backtrace/tracer.rb +0 -80
- data/lib/graphql/deprecation.rb +0 -9
- data/lib/graphql/filter.rb +0 -59
- data/lib/graphql/language/parser.y +0 -560
- data/lib/graphql/language/token.rb +0 -34
- data/lib/graphql/schema/base_64_bp.rb +0 -26
- data/lib/graphql/schema/invalid_type_error.rb +0 -7
- data/lib/graphql/schema/null_mask.rb +0 -11
- data/lib/graphql/static_validation/rules/subscription_root_exists.rb +0 -17
- data/lib/graphql/static_validation/type_stack.rb +0 -216
- data/lib/graphql/subscriptions/instrumentation.rb +0 -28
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Mosolgo
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2026-04-27 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: base64
|
|
@@ -24,6 +23,34 @@ dependencies:
|
|
|
24
23
|
- - ">="
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: fiber-storage
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: logger
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0'
|
|
47
|
+
type: :runtime
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
27
54
|
- !ruby/object:Gem::Dependency
|
|
28
55
|
name: benchmark-ips
|
|
29
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -53,7 +80,7 @@ dependencies:
|
|
|
53
80
|
- !ruby/object:Gem::Version
|
|
54
81
|
version: '1.0'
|
|
55
82
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
83
|
+
name: google-protobuf
|
|
57
84
|
requirement: !ruby/object:Gem::Requirement
|
|
58
85
|
requirements:
|
|
59
86
|
- - ">="
|
|
@@ -67,19 +94,33 @@ dependencies:
|
|
|
67
94
|
- !ruby/object:Gem::Version
|
|
68
95
|
version: '0'
|
|
69
96
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
97
|
+
name: graphql-batch
|
|
71
98
|
requirement: !ruby/object:Gem::Requirement
|
|
72
99
|
requirements:
|
|
73
|
-
- - "
|
|
100
|
+
- - ">="
|
|
74
101
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
102
|
+
version: '0'
|
|
76
103
|
type: :development
|
|
77
104
|
prerelease: false
|
|
78
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
106
|
requirements:
|
|
80
|
-
- - "
|
|
107
|
+
- - ">="
|
|
81
108
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '
|
|
109
|
+
version: '0'
|
|
110
|
+
- !ruby/object:Gem::Dependency
|
|
111
|
+
name: memory_profiler
|
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
|
113
|
+
requirements:
|
|
114
|
+
- - ">="
|
|
115
|
+
- !ruby/object:Gem::Version
|
|
116
|
+
version: '0'
|
|
117
|
+
type: :development
|
|
118
|
+
prerelease: false
|
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
120
|
+
requirements:
|
|
121
|
+
- - ">="
|
|
122
|
+
- !ruby/object:Gem::Version
|
|
123
|
+
version: '0'
|
|
83
124
|
- !ruby/object:Gem::Dependency
|
|
84
125
|
name: minitest
|
|
85
126
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -122,6 +163,20 @@ dependencies:
|
|
|
122
163
|
- - ">="
|
|
123
164
|
- !ruby/object:Gem::Version
|
|
124
165
|
version: '0'
|
|
166
|
+
- !ruby/object:Gem::Dependency
|
|
167
|
+
name: ostruct
|
|
168
|
+
requirement: !ruby/object:Gem::Requirement
|
|
169
|
+
requirements:
|
|
170
|
+
- - ">="
|
|
171
|
+
- !ruby/object:Gem::Version
|
|
172
|
+
version: '0'
|
|
173
|
+
type: :development
|
|
174
|
+
prerelease: false
|
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
176
|
+
requirements:
|
|
177
|
+
- - ">="
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: '0'
|
|
125
180
|
- !ruby/object:Gem::Dependency
|
|
126
181
|
name: rake
|
|
127
182
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -154,16 +209,58 @@ dependencies:
|
|
|
154
209
|
name: rubocop
|
|
155
210
|
requirement: !ruby/object:Gem::Requirement
|
|
156
211
|
requirements:
|
|
157
|
-
- -
|
|
212
|
+
- - ">="
|
|
158
213
|
- !ruby/object:Gem::Version
|
|
159
|
-
version: '
|
|
214
|
+
version: '0'
|
|
160
215
|
type: :development
|
|
161
216
|
prerelease: false
|
|
162
217
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
218
|
requirements:
|
|
164
|
-
- -
|
|
219
|
+
- - ">="
|
|
165
220
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: '
|
|
221
|
+
version: '0'
|
|
222
|
+
- !ruby/object:Gem::Dependency
|
|
223
|
+
name: simplecov
|
|
224
|
+
requirement: !ruby/object:Gem::Requirement
|
|
225
|
+
requirements:
|
|
226
|
+
- - ">="
|
|
227
|
+
- !ruby/object:Gem::Version
|
|
228
|
+
version: '0'
|
|
229
|
+
type: :development
|
|
230
|
+
prerelease: false
|
|
231
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
232
|
+
requirements:
|
|
233
|
+
- - ">="
|
|
234
|
+
- !ruby/object:Gem::Version
|
|
235
|
+
version: '0'
|
|
236
|
+
- !ruby/object:Gem::Dependency
|
|
237
|
+
name: simplecov-lcov
|
|
238
|
+
requirement: !ruby/object:Gem::Requirement
|
|
239
|
+
requirements:
|
|
240
|
+
- - ">="
|
|
241
|
+
- !ruby/object:Gem::Version
|
|
242
|
+
version: '0'
|
|
243
|
+
type: :development
|
|
244
|
+
prerelease: false
|
|
245
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
246
|
+
requirements:
|
|
247
|
+
- - ">="
|
|
248
|
+
- !ruby/object:Gem::Version
|
|
249
|
+
version: '0'
|
|
250
|
+
- !ruby/object:Gem::Dependency
|
|
251
|
+
name: undercover
|
|
252
|
+
requirement: !ruby/object:Gem::Requirement
|
|
253
|
+
requirements:
|
|
254
|
+
- - ">="
|
|
255
|
+
- !ruby/object:Gem::Version
|
|
256
|
+
version: '0'
|
|
257
|
+
type: :development
|
|
258
|
+
prerelease: false
|
|
259
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
260
|
+
requirements:
|
|
261
|
+
- - ">="
|
|
262
|
+
- !ruby/object:Gem::Version
|
|
263
|
+
version: '0'
|
|
167
264
|
- !ruby/object:Gem::Dependency
|
|
168
265
|
name: jekyll
|
|
169
266
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -178,6 +275,20 @@ dependencies:
|
|
|
178
275
|
- - ">="
|
|
179
276
|
- !ruby/object:Gem::Version
|
|
180
277
|
version: '0'
|
|
278
|
+
- !ruby/object:Gem::Dependency
|
|
279
|
+
name: jekyll-sass-converter
|
|
280
|
+
requirement: !ruby/object:Gem::Requirement
|
|
281
|
+
requirements:
|
|
282
|
+
- - "~>"
|
|
283
|
+
- !ruby/object:Gem::Version
|
|
284
|
+
version: '2.2'
|
|
285
|
+
type: :development
|
|
286
|
+
prerelease: false
|
|
287
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
288
|
+
requirements:
|
|
289
|
+
- - "~>"
|
|
290
|
+
- !ruby/object:Gem::Version
|
|
291
|
+
version: '2.2'
|
|
181
292
|
- !ruby/object:Gem::Dependency
|
|
182
293
|
name: yard
|
|
183
294
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -234,6 +345,20 @@ dependencies:
|
|
|
234
345
|
- - "~>"
|
|
235
346
|
- !ruby/object:Gem::Version
|
|
236
347
|
version: 1.5.0
|
|
348
|
+
- !ruby/object:Gem::Dependency
|
|
349
|
+
name: mutex_m
|
|
350
|
+
requirement: !ruby/object:Gem::Requirement
|
|
351
|
+
requirements:
|
|
352
|
+
- - ">="
|
|
353
|
+
- !ruby/object:Gem::Version
|
|
354
|
+
version: '0'
|
|
355
|
+
type: :development
|
|
356
|
+
prerelease: false
|
|
357
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
358
|
+
requirements:
|
|
359
|
+
- - ">="
|
|
360
|
+
- !ruby/object:Gem::Version
|
|
361
|
+
version: '0'
|
|
237
362
|
- !ruby/object:Gem::Dependency
|
|
238
363
|
name: webrick
|
|
239
364
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -258,6 +383,7 @@ files:
|
|
|
258
383
|
- ".yardopts"
|
|
259
384
|
- MIT-LICENSE
|
|
260
385
|
- lib/generators/graphql/core.rb
|
|
386
|
+
- lib/generators/graphql/detailed_trace_generator.rb
|
|
261
387
|
- lib/generators/graphql/enum_generator.rb
|
|
262
388
|
- lib/generators/graphql/field_extractor.rb
|
|
263
389
|
- lib/generators/graphql/input_generator.rb
|
|
@@ -284,8 +410,10 @@ files:
|
|
|
284
410
|
- lib/generators/graphql/templates/base_input_object.erb
|
|
285
411
|
- lib/generators/graphql/templates/base_interface.erb
|
|
286
412
|
- lib/generators/graphql/templates/base_object.erb
|
|
413
|
+
- lib/generators/graphql/templates/base_resolver.erb
|
|
287
414
|
- lib/generators/graphql/templates/base_scalar.erb
|
|
288
415
|
- lib/generators/graphql/templates/base_union.erb
|
|
416
|
+
- lib/generators/graphql/templates/create_graphql_detailed_traces.erb
|
|
289
417
|
- lib/generators/graphql/templates/enum.erb
|
|
290
418
|
- lib/generators/graphql/templates/graphql_controller.erb
|
|
291
419
|
- lib/generators/graphql/templates/input.erb
|
|
@@ -305,33 +433,69 @@ files:
|
|
|
305
433
|
- lib/generators/graphql/union_generator.rb
|
|
306
434
|
- lib/graphql.rb
|
|
307
435
|
- lib/graphql/analysis.rb
|
|
308
|
-
- lib/graphql/analysis/
|
|
309
|
-
- lib/graphql/analysis/
|
|
310
|
-
- lib/graphql/analysis/
|
|
311
|
-
- lib/graphql/analysis/
|
|
312
|
-
- lib/graphql/analysis/
|
|
313
|
-
- lib/graphql/analysis/
|
|
314
|
-
- lib/graphql/analysis/
|
|
315
|
-
- lib/graphql/analysis/ast/visitor.rb
|
|
436
|
+
- lib/graphql/analysis/analyzer.rb
|
|
437
|
+
- lib/graphql/analysis/field_usage.rb
|
|
438
|
+
- lib/graphql/analysis/max_query_complexity.rb
|
|
439
|
+
- lib/graphql/analysis/max_query_depth.rb
|
|
440
|
+
- lib/graphql/analysis/query_complexity.rb
|
|
441
|
+
- lib/graphql/analysis/query_depth.rb
|
|
442
|
+
- lib/graphql/analysis/visitor.rb
|
|
316
443
|
- lib/graphql/analysis_error.rb
|
|
444
|
+
- lib/graphql/autoload.rb
|
|
317
445
|
- lib/graphql/backtrace.rb
|
|
318
|
-
- lib/graphql/backtrace/inspect_result.rb
|
|
319
446
|
- lib/graphql/backtrace/table.rb
|
|
320
|
-
- lib/graphql/backtrace/trace.rb
|
|
321
447
|
- lib/graphql/backtrace/traced_error.rb
|
|
322
|
-
- lib/graphql/backtrace/tracer.rb
|
|
323
448
|
- lib/graphql/coercion_error.rb
|
|
449
|
+
- lib/graphql/current.rb
|
|
450
|
+
- lib/graphql/dashboard.rb
|
|
451
|
+
- lib/graphql/dashboard/application_controller.rb
|
|
452
|
+
- lib/graphql/dashboard/detailed_traces.rb
|
|
453
|
+
- lib/graphql/dashboard/installable.rb
|
|
454
|
+
- lib/graphql/dashboard/landings_controller.rb
|
|
455
|
+
- lib/graphql/dashboard/limiters.rb
|
|
456
|
+
- lib/graphql/dashboard/operation_store.rb
|
|
457
|
+
- lib/graphql/dashboard/statics/bootstrap-5.3.3.min.css
|
|
458
|
+
- lib/graphql/dashboard/statics/bootstrap-5.3.3.min.js
|
|
459
|
+
- lib/graphql/dashboard/statics/charts.min.css
|
|
460
|
+
- lib/graphql/dashboard/statics/dashboard.css
|
|
461
|
+
- lib/graphql/dashboard/statics/dashboard.js
|
|
462
|
+
- lib/graphql/dashboard/statics/header-icon.png
|
|
463
|
+
- lib/graphql/dashboard/statics/icon.png
|
|
464
|
+
- lib/graphql/dashboard/statics_controller.rb
|
|
465
|
+
- lib/graphql/dashboard/subscriptions.rb
|
|
466
|
+
- lib/graphql/dashboard/views/graphql/dashboard/detailed_traces/traces/index.html.erb
|
|
467
|
+
- lib/graphql/dashboard/views/graphql/dashboard/landings/show.html.erb
|
|
468
|
+
- lib/graphql/dashboard/views/graphql/dashboard/limiters/limiters/show.html.erb
|
|
469
|
+
- lib/graphql/dashboard/views/graphql/dashboard/not_installed.html.erb
|
|
470
|
+
- lib/graphql/dashboard/views/graphql/dashboard/operation_store/clients/_form.html.erb
|
|
471
|
+
- lib/graphql/dashboard/views/graphql/dashboard/operation_store/clients/edit.html.erb
|
|
472
|
+
- lib/graphql/dashboard/views/graphql/dashboard/operation_store/clients/index.html.erb
|
|
473
|
+
- lib/graphql/dashboard/views/graphql/dashboard/operation_store/clients/new.html.erb
|
|
474
|
+
- lib/graphql/dashboard/views/graphql/dashboard/operation_store/index_entries/index.html.erb
|
|
475
|
+
- lib/graphql/dashboard/views/graphql/dashboard/operation_store/index_entries/show.html.erb
|
|
476
|
+
- lib/graphql/dashboard/views/graphql/dashboard/operation_store/operations/index.html.erb
|
|
477
|
+
- lib/graphql/dashboard/views/graphql/dashboard/operation_store/operations/show.html.erb
|
|
478
|
+
- lib/graphql/dashboard/views/graphql/dashboard/subscriptions/subscriptions/show.html.erb
|
|
479
|
+
- lib/graphql/dashboard/views/graphql/dashboard/subscriptions/topics/index.html.erb
|
|
480
|
+
- lib/graphql/dashboard/views/graphql/dashboard/subscriptions/topics/show.html.erb
|
|
481
|
+
- lib/graphql/dashboard/views/layouts/graphql/dashboard/application.html.erb
|
|
324
482
|
- lib/graphql/dataloader.rb
|
|
483
|
+
- lib/graphql/dataloader/active_record_association_source.rb
|
|
484
|
+
- lib/graphql/dataloader/active_record_source.rb
|
|
485
|
+
- lib/graphql/dataloader/async_dataloader.rb
|
|
325
486
|
- lib/graphql/dataloader/null_dataloader.rb
|
|
326
487
|
- lib/graphql/dataloader/request.rb
|
|
327
488
|
- lib/graphql/dataloader/request_all.rb
|
|
328
489
|
- lib/graphql/dataloader/source.rb
|
|
329
490
|
- lib/graphql/date_encoding_error.rb
|
|
330
|
-
- lib/graphql/deprecation.rb
|
|
331
491
|
- lib/graphql/dig.rb
|
|
492
|
+
- lib/graphql/duration_encoding_error.rb
|
|
332
493
|
- lib/graphql/execution.rb
|
|
333
494
|
- lib/graphql/execution/directive_checks.rb
|
|
334
495
|
- lib/graphql/execution/errors.rb
|
|
496
|
+
- lib/graphql/execution/field_resolve_step.rb
|
|
497
|
+
- lib/graphql/execution/finalize.rb
|
|
498
|
+
- lib/graphql/execution/input_values.rb
|
|
335
499
|
- lib/graphql/execution/interpreter.rb
|
|
336
500
|
- lib/graphql/execution/interpreter/argument_value.rb
|
|
337
501
|
- lib/graphql/execution/interpreter/arguments.rb
|
|
@@ -340,12 +504,17 @@ files:
|
|
|
340
504
|
- lib/graphql/execution/interpreter/handles_raw_value.rb
|
|
341
505
|
- lib/graphql/execution/interpreter/resolve.rb
|
|
342
506
|
- lib/graphql/execution/interpreter/runtime.rb
|
|
507
|
+
- lib/graphql/execution/interpreter/runtime/graphql_result.rb
|
|
343
508
|
- lib/graphql/execution/lazy.rb
|
|
344
509
|
- lib/graphql/execution/lazy/lazy_method_map.rb
|
|
510
|
+
- lib/graphql/execution/load_argument_step.rb
|
|
345
511
|
- lib/graphql/execution/lookahead.rb
|
|
346
512
|
- lib/graphql/execution/multiplex.rb
|
|
513
|
+
- lib/graphql/execution/next.rb
|
|
514
|
+
- lib/graphql/execution/prepare_object_step.rb
|
|
515
|
+
- lib/graphql/execution/runner.rb
|
|
516
|
+
- lib/graphql/execution/selections_step.rb
|
|
347
517
|
- lib/graphql/execution_error.rb
|
|
348
|
-
- lib/graphql/filter.rb
|
|
349
518
|
- lib/graphql/integer_decoding_error.rb
|
|
350
519
|
- lib/graphql/integer_encoding_error.rb
|
|
351
520
|
- lib/graphql/introspection.rb
|
|
@@ -366,16 +535,16 @@ files:
|
|
|
366
535
|
- lib/graphql/language.rb
|
|
367
536
|
- lib/graphql/language/block_string.rb
|
|
368
537
|
- lib/graphql/language/cache.rb
|
|
538
|
+
- lib/graphql/language/comment.rb
|
|
369
539
|
- lib/graphql/language/definition_slice.rb
|
|
370
540
|
- lib/graphql/language/document_from_schema_definition.rb
|
|
371
541
|
- lib/graphql/language/generation.rb
|
|
372
542
|
- lib/graphql/language/lexer.rb
|
|
373
543
|
- lib/graphql/language/nodes.rb
|
|
374
544
|
- lib/graphql/language/parser.rb
|
|
375
|
-
- lib/graphql/language/parser.y
|
|
376
545
|
- lib/graphql/language/printer.rb
|
|
377
546
|
- lib/graphql/language/sanitized_printer.rb
|
|
378
|
-
- lib/graphql/language/
|
|
547
|
+
- lib/graphql/language/static_visitor.rb
|
|
379
548
|
- lib/graphql/language/visitor.rb
|
|
380
549
|
- lib/graphql/load_application_object_failed_error.rb
|
|
381
550
|
- lib/graphql/name_validator.rb
|
|
@@ -390,9 +559,11 @@ files:
|
|
|
390
559
|
- lib/graphql/parse_error.rb
|
|
391
560
|
- lib/graphql/query.rb
|
|
392
561
|
- lib/graphql/query/context.rb
|
|
562
|
+
- lib/graphql/query/context/scoped_context.rb
|
|
393
563
|
- lib/graphql/query/fingerprint.rb
|
|
394
564
|
- lib/graphql/query/input_validation_result.rb
|
|
395
565
|
- lib/graphql/query/null_context.rb
|
|
566
|
+
- lib/graphql/query/partial.rb
|
|
396
567
|
- lib/graphql/query/result.rb
|
|
397
568
|
- lib/graphql/query/validation_pipeline.rb
|
|
398
569
|
- lib/graphql/query/variable_validation_error.rb
|
|
@@ -406,12 +577,14 @@ files:
|
|
|
406
577
|
- lib/graphql/rubocop/graphql/base_cop.rb
|
|
407
578
|
- lib/graphql/rubocop/graphql/default_null_true.rb
|
|
408
579
|
- lib/graphql/rubocop/graphql/default_required_true.rb
|
|
580
|
+
- lib/graphql/rubocop/graphql/field_type_in_block.rb
|
|
581
|
+
- lib/graphql/rubocop/graphql/root_types_in_block.rb
|
|
582
|
+
- lib/graphql/runtime_error.rb
|
|
409
583
|
- lib/graphql/runtime_type_error.rb
|
|
410
584
|
- lib/graphql/schema.rb
|
|
411
585
|
- lib/graphql/schema/addition.rb
|
|
412
586
|
- lib/graphql/schema/always_visible.rb
|
|
413
587
|
- lib/graphql/schema/argument.rb
|
|
414
|
-
- lib/graphql/schema/base_64_bp.rb
|
|
415
588
|
- lib/graphql/schema/base_64_encoder.rb
|
|
416
589
|
- lib/graphql/schema/build_from_definition.rb
|
|
417
590
|
- lib/graphql/schema/build_from_definition/resolve_map.rb
|
|
@@ -424,6 +597,7 @@ files:
|
|
|
424
597
|
- lib/graphql/schema/directive/include.rb
|
|
425
598
|
- lib/graphql/schema/directive/one_of.rb
|
|
426
599
|
- lib/graphql/schema/directive/skip.rb
|
|
600
|
+
- lib/graphql/schema/directive/specified_by.rb
|
|
427
601
|
- lib/graphql/schema/directive/transform.rb
|
|
428
602
|
- lib/graphql/schema/enum.rb
|
|
429
603
|
- lib/graphql/schema/enum_value.rb
|
|
@@ -433,10 +607,10 @@ files:
|
|
|
433
607
|
- lib/graphql/schema/field_extension.rb
|
|
434
608
|
- lib/graphql/schema/find_inherited_value.rb
|
|
435
609
|
- lib/graphql/schema/finder.rb
|
|
610
|
+
- lib/graphql/schema/has_single_input_argument.rb
|
|
436
611
|
- lib/graphql/schema/input_object.rb
|
|
437
612
|
- lib/graphql/schema/interface.rb
|
|
438
613
|
- lib/graphql/schema/introspection_system.rb
|
|
439
|
-
- lib/graphql/schema/invalid_type_error.rb
|
|
440
614
|
- lib/graphql/schema/late_bound_type.rb
|
|
441
615
|
- lib/graphql/schema/list.rb
|
|
442
616
|
- lib/graphql/schema/loader.rb
|
|
@@ -446,6 +620,8 @@ files:
|
|
|
446
620
|
- lib/graphql/schema/member/graphql_type_names.rb
|
|
447
621
|
- lib/graphql/schema/member/has_arguments.rb
|
|
448
622
|
- lib/graphql/schema/member/has_ast_node.rb
|
|
623
|
+
- lib/graphql/schema/member/has_authorization.rb
|
|
624
|
+
- lib/graphql/schema/member/has_dataloader.rb
|
|
449
625
|
- lib/graphql/schema/member/has_deprecation_reason.rb
|
|
450
626
|
- lib/graphql/schema/member/has_directives.rb
|
|
451
627
|
- lib/graphql/schema/member/has_fields.rb
|
|
@@ -459,9 +635,9 @@ files:
|
|
|
459
635
|
- lib/graphql/schema/member/validates_input.rb
|
|
460
636
|
- lib/graphql/schema/mutation.rb
|
|
461
637
|
- lib/graphql/schema/non_null.rb
|
|
462
|
-
- lib/graphql/schema/null_mask.rb
|
|
463
638
|
- lib/graphql/schema/object.rb
|
|
464
639
|
- lib/graphql/schema/printer.rb
|
|
640
|
+
- lib/graphql/schema/ractor_shareable.rb
|
|
465
641
|
- lib/graphql/schema/relay_classic_mutation.rb
|
|
466
642
|
- lib/graphql/schema/resolver.rb
|
|
467
643
|
- lib/graphql/schema/resolver/has_payload_type.rb
|
|
@@ -473,6 +649,7 @@ files:
|
|
|
473
649
|
- lib/graphql/schema/union.rb
|
|
474
650
|
- lib/graphql/schema/unique_within_type.rb
|
|
475
651
|
- lib/graphql/schema/validator.rb
|
|
652
|
+
- lib/graphql/schema/validator/all_validator.rb
|
|
476
653
|
- lib/graphql/schema/validator/allow_blank_validator.rb
|
|
477
654
|
- lib/graphql/schema/validator/allow_null_validator.rb
|
|
478
655
|
- lib/graphql/schema/validator/exclusion_validator.rb
|
|
@@ -481,6 +658,10 @@ files:
|
|
|
481
658
|
- lib/graphql/schema/validator/length_validator.rb
|
|
482
659
|
- lib/graphql/schema/validator/numericality_validator.rb
|
|
483
660
|
- lib/graphql/schema/validator/required_validator.rb
|
|
661
|
+
- lib/graphql/schema/visibility.rb
|
|
662
|
+
- lib/graphql/schema/visibility/migration.rb
|
|
663
|
+
- lib/graphql/schema/visibility/profile.rb
|
|
664
|
+
- lib/graphql/schema/visibility/visit.rb
|
|
484
665
|
- lib/graphql/schema/warden.rb
|
|
485
666
|
- lib/graphql/schema/wrapper.rb
|
|
486
667
|
- lib/graphql/static_validation.rb
|
|
@@ -526,6 +707,7 @@ files:
|
|
|
526
707
|
- lib/graphql/static_validation/rules/mutation_root_exists_error.rb
|
|
527
708
|
- lib/graphql/static_validation/rules/no_definitions_are_present.rb
|
|
528
709
|
- lib/graphql/static_validation/rules/no_definitions_are_present_error.rb
|
|
710
|
+
- lib/graphql/static_validation/rules/not_single_subscription_error.rb
|
|
529
711
|
- lib/graphql/static_validation/rules/one_of_input_objects_are_valid.rb
|
|
530
712
|
- lib/graphql/static_validation/rules/one_of_input_objects_are_valid_error.rb
|
|
531
713
|
- lib/graphql/static_validation/rules/operation_names_are_valid.rb
|
|
@@ -536,7 +718,7 @@ files:
|
|
|
536
718
|
- lib/graphql/static_validation/rules/required_arguments_are_present_error.rb
|
|
537
719
|
- lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb
|
|
538
720
|
- lib/graphql/static_validation/rules/required_input_object_attributes_are_present_error.rb
|
|
539
|
-
- lib/graphql/static_validation/rules/
|
|
721
|
+
- lib/graphql/static_validation/rules/subscription_root_exists_and_single_subscription_selection.rb
|
|
540
722
|
- lib/graphql/static_validation/rules/subscription_root_exists_error.rb
|
|
541
723
|
- lib/graphql/static_validation/rules/unique_directives_per_location.rb
|
|
542
724
|
- lib/graphql/static_validation/rules/unique_directives_per_location_error.rb
|
|
@@ -550,7 +732,6 @@ files:
|
|
|
550
732
|
- lib/graphql/static_validation/rules/variables_are_input_types_error.rb
|
|
551
733
|
- lib/graphql/static_validation/rules/variables_are_used_and_defined.rb
|
|
552
734
|
- lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb
|
|
553
|
-
- lib/graphql/static_validation/type_stack.rb
|
|
554
735
|
- lib/graphql/static_validation/validation_context.rb
|
|
555
736
|
- lib/graphql/static_validation/validation_timeout_error.rb
|
|
556
737
|
- lib/graphql/static_validation/validator.rb
|
|
@@ -560,8 +741,10 @@ files:
|
|
|
560
741
|
- lib/graphql/subscriptions/broadcast_analyzer.rb
|
|
561
742
|
- lib/graphql/subscriptions/default_subscription_resolve_extension.rb
|
|
562
743
|
- lib/graphql/subscriptions/event.rb
|
|
563
|
-
- lib/graphql/subscriptions/instrumentation.rb
|
|
564
744
|
- lib/graphql/subscriptions/serialize.rb
|
|
745
|
+
- lib/graphql/testing.rb
|
|
746
|
+
- lib/graphql/testing/helpers.rb
|
|
747
|
+
- lib/graphql/testing/mock_action_cable.rb
|
|
565
748
|
- lib/graphql/tracing.rb
|
|
566
749
|
- lib/graphql/tracing/active_support_notifications_trace.rb
|
|
567
750
|
- lib/graphql/tracing/active_support_notifications_tracing.rb
|
|
@@ -569,20 +752,32 @@ files:
|
|
|
569
752
|
- lib/graphql/tracing/appoptics_tracing.rb
|
|
570
753
|
- lib/graphql/tracing/appsignal_trace.rb
|
|
571
754
|
- lib/graphql/tracing/appsignal_tracing.rb
|
|
755
|
+
- lib/graphql/tracing/call_legacy_tracers.rb
|
|
572
756
|
- lib/graphql/tracing/data_dog_trace.rb
|
|
573
757
|
- lib/graphql/tracing/data_dog_tracing.rb
|
|
758
|
+
- lib/graphql/tracing/detailed_trace.rb
|
|
759
|
+
- lib/graphql/tracing/detailed_trace/active_record_backend.rb
|
|
760
|
+
- lib/graphql/tracing/detailed_trace/memory_backend.rb
|
|
761
|
+
- lib/graphql/tracing/detailed_trace/redis_backend.rb
|
|
762
|
+
- lib/graphql/tracing/legacy_hooks_trace.rb
|
|
574
763
|
- lib/graphql/tracing/legacy_trace.rb
|
|
764
|
+
- lib/graphql/tracing/monitor_trace.rb
|
|
575
765
|
- lib/graphql/tracing/new_relic_trace.rb
|
|
576
766
|
- lib/graphql/tracing/new_relic_tracing.rb
|
|
577
767
|
- lib/graphql/tracing/notifications_trace.rb
|
|
578
768
|
- lib/graphql/tracing/notifications_tracing.rb
|
|
769
|
+
- lib/graphql/tracing/null_trace.rb
|
|
770
|
+
- lib/graphql/tracing/perfetto_trace.rb
|
|
771
|
+
- lib/graphql/tracing/perfetto_trace/trace.proto
|
|
772
|
+
- lib/graphql/tracing/perfetto_trace/trace_pb.rb
|
|
579
773
|
- lib/graphql/tracing/platform_trace.rb
|
|
580
774
|
- lib/graphql/tracing/platform_tracing.rb
|
|
581
775
|
- lib/graphql/tracing/prometheus_trace.rb
|
|
776
|
+
- lib/graphql/tracing/prometheus_trace/graphql_collector.rb
|
|
582
777
|
- lib/graphql/tracing/prometheus_tracing.rb
|
|
583
|
-
- lib/graphql/tracing/prometheus_tracing/graphql_collector.rb
|
|
584
778
|
- lib/graphql/tracing/scout_trace.rb
|
|
585
779
|
- lib/graphql/tracing/scout_tracing.rb
|
|
780
|
+
- lib/graphql/tracing/sentry_trace.rb
|
|
586
781
|
- lib/graphql/tracing/statsd_trace.rb
|
|
587
782
|
- lib/graphql/tracing/statsd_tracing.rb
|
|
588
783
|
- lib/graphql/tracing/trace.rb
|
|
@@ -595,6 +790,7 @@ files:
|
|
|
595
790
|
- lib/graphql/types/int.rb
|
|
596
791
|
- lib/graphql/types/iso_8601_date.rb
|
|
597
792
|
- lib/graphql/types/iso_8601_date_time.rb
|
|
793
|
+
- lib/graphql/types/iso_8601_duration.rb
|
|
598
794
|
- lib/graphql/types/json.rb
|
|
599
795
|
- lib/graphql/types/relay.rb
|
|
600
796
|
- lib/graphql/types/relay/base_connection.rb
|
|
@@ -608,6 +804,7 @@ files:
|
|
|
608
804
|
- lib/graphql/types/relay/page_info.rb
|
|
609
805
|
- lib/graphql/types/relay/page_info_behaviors.rb
|
|
610
806
|
- lib/graphql/types/string.rb
|
|
807
|
+
- lib/graphql/unauthorized_enum_value_error.rb
|
|
611
808
|
- lib/graphql/unauthorized_error.rb
|
|
612
809
|
- lib/graphql/unauthorized_field_error.rb
|
|
613
810
|
- lib/graphql/unresolved_type_error.rb
|
|
@@ -621,8 +818,8 @@ metadata:
|
|
|
621
818
|
changelog_uri: https://github.com/rmosolgo/graphql-ruby/blob/master/CHANGELOG.md
|
|
622
819
|
source_code_uri: https://github.com/rmosolgo/graphql-ruby
|
|
623
820
|
bug_tracker_uri: https://github.com/rmosolgo/graphql-ruby/issues
|
|
624
|
-
mailing_list_uri: https://
|
|
625
|
-
|
|
821
|
+
mailing_list_uri: https://buttondown.email/graphql-ruby
|
|
822
|
+
rubygems_mfa_required: 'true'
|
|
626
823
|
rdoc_options: []
|
|
627
824
|
require_paths:
|
|
628
825
|
- lib
|
|
@@ -630,15 +827,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
630
827
|
requirements:
|
|
631
828
|
- - ">="
|
|
632
829
|
- !ruby/object:Gem::Version
|
|
633
|
-
version: 2.
|
|
830
|
+
version: 2.7.0
|
|
634
831
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
635
832
|
requirements:
|
|
636
833
|
- - ">="
|
|
637
834
|
- !ruby/object:Gem::Version
|
|
638
835
|
version: '0'
|
|
639
836
|
requirements: []
|
|
640
|
-
rubygems_version:
|
|
641
|
-
signing_key:
|
|
837
|
+
rubygems_version: 4.0.6
|
|
642
838
|
specification_version: 4
|
|
643
839
|
summary: A GraphQL language and runtime for Ruby
|
|
644
840
|
test_files: []
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
module GraphQL
|
|
3
|
-
module Analysis
|
|
4
|
-
module AST
|
|
5
|
-
# Query analyzer for query ASTs. Query analyzers respond to visitor style methods
|
|
6
|
-
# but are prefixed by `enter` and `leave`.
|
|
7
|
-
#
|
|
8
|
-
# When an analyzer is initialized with a Multiplex, you can always get the current query from
|
|
9
|
-
# `visitor.query` in the visit methods.
|
|
10
|
-
#
|
|
11
|
-
# @param [GraphQL::Query, GraphQL::Execution::Multiplex] The query or multiplex to analyze
|
|
12
|
-
class Analyzer
|
|
13
|
-
def initialize(subject)
|
|
14
|
-
@subject = subject
|
|
15
|
-
|
|
16
|
-
if subject.is_a?(GraphQL::Query)
|
|
17
|
-
@query = subject
|
|
18
|
-
@multiplex = nil
|
|
19
|
-
else
|
|
20
|
-
@multiplex = subject
|
|
21
|
-
@query = nil
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
# Analyzer hook to decide at analysis time whether a query should
|
|
26
|
-
# be analyzed or not.
|
|
27
|
-
# @return [Boolean] If the query should be analyzed or not
|
|
28
|
-
def analyze?
|
|
29
|
-
true
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
# The result for this analyzer. Returning {GraphQL::AnalysisError} results
|
|
33
|
-
# in a query error.
|
|
34
|
-
# @return [Any] The analyzer result
|
|
35
|
-
def result
|
|
36
|
-
raise GraphQL::RequiredImplementationMissingError
|
|
37
|
-
end
|
|
38
|
-
|
|
39
|
-
class << self
|
|
40
|
-
private
|
|
41
|
-
|
|
42
|
-
def build_visitor_hooks(member_name)
|
|
43
|
-
class_eval(<<-EOS, __FILE__, __LINE__ + 1)
|
|
44
|
-
def on_enter_#{member_name}(node, parent, visitor)
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
def on_leave_#{member_name}(node, parent, visitor)
|
|
48
|
-
end
|
|
49
|
-
EOS
|
|
50
|
-
end
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
build_visitor_hooks :argument
|
|
54
|
-
build_visitor_hooks :directive
|
|
55
|
-
build_visitor_hooks :document
|
|
56
|
-
build_visitor_hooks :enum
|
|
57
|
-
build_visitor_hooks :field
|
|
58
|
-
build_visitor_hooks :fragment_spread
|
|
59
|
-
build_visitor_hooks :inline_fragment
|
|
60
|
-
build_visitor_hooks :input_object
|
|
61
|
-
build_visitor_hooks :list_type
|
|
62
|
-
build_visitor_hooks :non_null_type
|
|
63
|
-
build_visitor_hooks :null_value
|
|
64
|
-
build_visitor_hooks :operation_definition
|
|
65
|
-
build_visitor_hooks :type_name
|
|
66
|
-
build_visitor_hooks :variable_definition
|
|
67
|
-
build_visitor_hooks :variable_identifier
|
|
68
|
-
build_visitor_hooks :abstract_node
|
|
69
|
-
|
|
70
|
-
protected
|
|
71
|
-
|
|
72
|
-
# @return [GraphQL::Query, GraphQL::Execution::Multiplex] Whatever this analyzer is analyzing
|
|
73
|
-
attr_reader :subject
|
|
74
|
-
|
|
75
|
-
# @return [GraphQL::Query, nil] `nil` if this analyzer is visiting a multiplex
|
|
76
|
-
# (When this is `nil`, use `visitor.query` inside visit methods to get the current query)
|
|
77
|
-
attr_reader :query
|
|
78
|
-
|
|
79
|
-
# @return [GraphQL::Execution::Multiplex, nil] `nil` if this analyzer is visiting a query
|
|
80
|
-
attr_reader :multiplex
|
|
81
|
-
end
|
|
82
|
-
end
|
|
83
|
-
end
|
|
84
|
-
end
|