graphql 1.9.21 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/graphql/core.rb +21 -10
- data/lib/generators/graphql/enum_generator.rb +4 -10
- data/lib/generators/graphql/field_extractor.rb +31 -0
- data/lib/generators/graphql/input_generator.rb +50 -0
- data/lib/generators/graphql/install/mutation_root_generator.rb +34 -0
- data/lib/generators/graphql/{templates → install/templates}/base_mutation.erb +2 -0
- data/lib/generators/graphql/{templates → install/templates}/mutation_type.erb +2 -0
- data/lib/generators/graphql/install_generator.rb +44 -7
- data/lib/generators/graphql/interface_generator.rb +7 -7
- data/lib/generators/graphql/loader_generator.rb +1 -0
- data/lib/generators/graphql/mutation_create_generator.rb +22 -0
- data/lib/generators/graphql/mutation_delete_generator.rb +22 -0
- data/lib/generators/graphql/mutation_generator.rb +6 -30
- data/lib/generators/graphql/mutation_update_generator.rb +22 -0
- data/lib/generators/graphql/object_generator.rb +28 -12
- data/lib/generators/graphql/orm_mutations_base.rb +40 -0
- data/lib/generators/graphql/relay.rb +63 -0
- data/lib/generators/graphql/relay_generator.rb +21 -0
- data/lib/generators/graphql/scalar_generator.rb +4 -2
- data/lib/generators/graphql/templates/base_argument.erb +2 -0
- data/lib/generators/graphql/templates/base_connection.erb +8 -0
- data/lib/generators/graphql/templates/base_edge.erb +8 -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_scalar.erb +2 -0
- data/lib/generators/graphql/templates/base_union.erb +2 -0
- data/lib/generators/graphql/templates/enum.erb +7 -1
- data/lib/generators/graphql/templates/graphql_controller.erb +16 -12
- data/lib/generators/graphql/templates/input.erb +9 -0
- data/lib/generators/graphql/templates/interface.erb +6 -2
- data/lib/generators/graphql/templates/loader.erb +2 -0
- data/lib/generators/graphql/templates/mutation.erb +3 -1
- data/lib/generators/graphql/templates/mutation_create.erb +20 -0
- data/lib/generators/graphql/templates/mutation_delete.erb +20 -0
- data/lib/generators/graphql/templates/mutation_update.erb +21 -0
- data/lib/generators/graphql/templates/node_type.erb +9 -0
- data/lib/generators/graphql/templates/object.erb +7 -3
- data/lib/generators/graphql/templates/query_type.erb +3 -3
- data/lib/generators/graphql/templates/scalar.erb +5 -1
- data/lib/generators/graphql/templates/schema.erb +22 -27
- data/lib/generators/graphql/templates/union.erb +6 -2
- data/lib/generators/graphql/type_generator.rb +47 -10
- data/lib/generators/graphql/union_generator.rb +5 -5
- data/lib/graphql/analysis/ast/field_usage.rb +29 -2
- data/lib/graphql/analysis/ast/query_complexity.rb +175 -68
- data/lib/graphql/analysis/ast/query_depth.rb +0 -1
- data/lib/graphql/analysis/ast/visitor.rb +17 -8
- data/lib/graphql/analysis/ast.rb +14 -14
- data/lib/graphql/analysis.rb +0 -7
- data/lib/graphql/backtrace/inspect_result.rb +0 -1
- data/lib/graphql/backtrace/table.rb +37 -16
- data/lib/graphql/backtrace/traced_error.rb +0 -1
- data/lib/graphql/backtrace/tracer.rb +39 -9
- data/lib/graphql/backtrace.rb +20 -17
- data/lib/graphql/dataloader/null_dataloader.rb +22 -0
- data/lib/graphql/dataloader/request.rb +19 -0
- data/lib/graphql/dataloader/request_all.rb +19 -0
- data/lib/graphql/dataloader/source.rb +155 -0
- data/lib/graphql/dataloader.rb +308 -0
- data/lib/graphql/date_encoding_error.rb +16 -0
- data/lib/graphql/deprecation.rb +9 -0
- data/lib/graphql/dig.rb +1 -1
- data/lib/graphql/execution/directive_checks.rb +2 -2
- data/lib/graphql/execution/errors.rb +108 -14
- data/lib/graphql/execution/instrumentation.rb +1 -1
- data/lib/graphql/execution/interpreter/argument_value.rb +28 -0
- data/lib/graphql/execution/interpreter/arguments.rb +88 -0
- data/lib/graphql/execution/interpreter/arguments_cache.rb +105 -0
- data/lib/graphql/execution/interpreter/handles_raw_value.rb +18 -0
- data/lib/graphql/execution/interpreter/resolve.rb +37 -25
- data/lib/graphql/execution/interpreter/runtime.rb +715 -387
- data/lib/graphql/execution/interpreter.rb +32 -31
- data/lib/graphql/execution/lazy/lazy_method_map.rb +4 -0
- data/lib/graphql/execution/lazy.rb +5 -1
- data/lib/graphql/execution/lookahead.rb +32 -114
- data/lib/graphql/execution/multiplex.rb +60 -92
- data/lib/graphql/execution.rb +11 -3
- data/lib/graphql/filter.rb +1 -1
- data/lib/graphql/integer_decoding_error.rb +17 -0
- data/lib/graphql/integer_encoding_error.rb +18 -2
- data/lib/graphql/introspection/base_object.rb +2 -5
- data/lib/graphql/introspection/directive_location_enum.rb +2 -2
- data/lib/graphql/introspection/directive_type.rb +11 -5
- data/lib/graphql/introspection/dynamic_fields.rb +3 -8
- data/lib/graphql/introspection/entry_points.rb +5 -18
- data/lib/graphql/introspection/enum_value_type.rb +2 -2
- data/lib/graphql/introspection/field_type.rb +9 -5
- data/lib/graphql/introspection/input_value_type.rb +41 -11
- data/lib/graphql/introspection/introspection_query.rb +6 -92
- data/lib/graphql/introspection/schema_type.rb +10 -10
- data/lib/graphql/introspection/type_type.rb +27 -17
- data/lib/graphql/introspection.rb +99 -0
- data/lib/graphql/invalid_null_error.rb +18 -0
- data/lib/graphql/language/block_string.rb +20 -5
- data/lib/graphql/language/cache.rb +37 -0
- data/lib/graphql/language/definition_slice.rb +21 -10
- data/lib/graphql/language/document_from_schema_definition.rb +99 -63
- data/lib/graphql/language/lexer.rb +53 -27
- data/lib/graphql/language/lexer.rl +5 -3
- data/lib/graphql/language/nodes.rb +64 -93
- data/lib/graphql/language/parser.rb +929 -896
- data/lib/graphql/language/parser.y +125 -102
- data/lib/graphql/language/printer.rb +11 -2
- data/lib/graphql/language/sanitized_printer.rb +222 -0
- data/lib/graphql/language/token.rb +0 -4
- data/lib/graphql/language/visitor.rb +2 -2
- data/lib/graphql/language.rb +3 -1
- data/lib/graphql/name_validator.rb +2 -7
- data/lib/graphql/pagination/active_record_relation_connection.rb +85 -0
- data/lib/graphql/pagination/array_connection.rb +77 -0
- data/lib/graphql/pagination/connection.rb +226 -0
- data/lib/graphql/pagination/connections.rb +134 -0
- data/lib/graphql/pagination/mongoid_relation_connection.rb +25 -0
- data/lib/graphql/pagination/relation_connection.rb +226 -0
- data/lib/graphql/pagination/sequel_dataset_connection.rb +28 -0
- data/lib/graphql/pagination.rb +6 -0
- data/lib/graphql/parse_error.rb +0 -1
- data/lib/graphql/query/context.rb +51 -190
- data/lib/graphql/query/fingerprint.rb +26 -0
- data/lib/graphql/query/input_validation_result.rb +23 -6
- data/lib/graphql/query/literal_input.rb +26 -11
- data/lib/graphql/query/null_context.rb +24 -8
- data/lib/graphql/query/validation_pipeline.rb +12 -38
- data/lib/graphql/query/variable_validation_error.rb +2 -2
- data/lib/graphql/query/variables.rb +26 -9
- data/lib/graphql/query.rb +62 -32
- data/lib/graphql/railtie.rb +6 -102
- data/lib/graphql/rake_task/validate.rb +3 -0
- data/lib/graphql/rake_task.rb +12 -9
- data/lib/graphql/relay/range_add.rb +23 -9
- data/lib/graphql/relay.rb +0 -15
- data/lib/graphql/rubocop/graphql/base_cop.rb +36 -0
- data/lib/graphql/rubocop/graphql/default_null_true.rb +43 -0
- data/lib/graphql/rubocop/graphql/default_required_true.rb +43 -0
- data/lib/graphql/rubocop.rb +4 -0
- data/lib/graphql/schema/addition.rb +240 -0
- data/lib/graphql/schema/argument.rb +262 -28
- data/lib/graphql/schema/base_64_encoder.rb +2 -0
- data/lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb +1 -1
- data/lib/graphql/schema/build_from_definition/resolve_map.rb +13 -5
- data/lib/graphql/schema/build_from_definition.rb +319 -220
- data/lib/graphql/schema/built_in_types.rb +5 -5
- data/lib/graphql/schema/directive/deprecated.rb +18 -0
- data/lib/graphql/schema/directive/feature.rb +1 -1
- data/lib/graphql/schema/directive/flagged.rb +57 -0
- data/lib/graphql/schema/directive/include.rb +2 -2
- data/lib/graphql/schema/directive/skip.rb +2 -2
- data/lib/graphql/schema/directive/transform.rb +14 -2
- data/lib/graphql/schema/directive.rb +117 -14
- data/lib/graphql/schema/enum.rb +115 -22
- data/lib/graphql/schema/enum_value.rb +16 -21
- data/lib/graphql/schema/field/connection_extension.rb +46 -20
- data/lib/graphql/schema/field/scope_extension.rb +1 -1
- data/lib/graphql/schema/field.rb +376 -291
- data/lib/graphql/schema/field_extension.rb +89 -2
- data/lib/graphql/schema/find_inherited_value.rb +17 -1
- data/lib/graphql/schema/finder.rb +16 -14
- data/lib/graphql/schema/input_object.rb +147 -60
- data/lib/graphql/schema/interface.rb +28 -43
- data/lib/graphql/schema/introspection_system.rb +101 -38
- data/lib/graphql/schema/late_bound_type.rb +3 -2
- data/lib/graphql/schema/list.rb +46 -3
- data/lib/graphql/schema/loader.rb +144 -102
- data/lib/graphql/schema/member/base_dsl_methods.rb +33 -32
- data/lib/graphql/schema/member/build_type.rb +23 -14
- data/lib/graphql/schema/member/has_arguments.rb +212 -23
- data/lib/graphql/schema/member/has_ast_node.rb +20 -0
- data/lib/graphql/schema/member/has_deprecation_reason.rb +25 -0
- data/lib/graphql/schema/member/has_directives.rb +98 -0
- data/lib/graphql/schema/member/has_fields.rb +99 -34
- data/lib/graphql/schema/member/has_interfaces.rb +88 -0
- data/lib/graphql/schema/member/has_unresolved_type_error.rb +15 -0
- data/lib/graphql/schema/member/has_validators.rb +31 -0
- data/lib/graphql/schema/member/type_system_helpers.rb +3 -3
- data/lib/graphql/schema/member/validates_input.rb +33 -0
- data/lib/graphql/schema/member.rb +11 -6
- data/lib/graphql/schema/mutation.rb +4 -9
- data/lib/graphql/schema/non_null.rb +34 -4
- data/lib/graphql/schema/object.rb +38 -65
- data/lib/graphql/schema/printer.rb +16 -35
- data/lib/graphql/schema/relay_classic_mutation.rb +57 -32
- data/lib/graphql/schema/resolver/has_payload_type.rb +34 -4
- data/lib/graphql/schema/resolver.rb +133 -79
- data/lib/graphql/schema/scalar.rb +40 -15
- data/lib/graphql/schema/subscription.rb +57 -21
- data/lib/graphql/schema/timeout.rb +29 -15
- data/lib/graphql/schema/type_expression.rb +21 -13
- data/lib/graphql/schema/type_membership.rb +19 -5
- data/lib/graphql/schema/union.rb +39 -14
- data/lib/graphql/schema/unique_within_type.rb +1 -2
- data/lib/graphql/schema/validator/allow_blank_validator.rb +29 -0
- data/lib/graphql/schema/validator/allow_null_validator.rb +26 -0
- data/lib/graphql/schema/validator/exclusion_validator.rb +33 -0
- data/lib/graphql/schema/validator/format_validator.rb +48 -0
- data/lib/graphql/schema/validator/inclusion_validator.rb +35 -0
- data/lib/graphql/schema/validator/length_validator.rb +59 -0
- data/lib/graphql/schema/validator/numericality_validator.rb +82 -0
- data/lib/graphql/schema/validator/required_validator.rb +82 -0
- data/lib/graphql/schema/validator.rb +171 -0
- data/lib/graphql/schema/warden.rb +182 -32
- data/lib/graphql/schema/wrapper.rb +0 -5
- data/lib/graphql/schema.rb +687 -891
- data/lib/graphql/static_validation/all_rules.rb +2 -0
- data/lib/graphql/static_validation/base_visitor.rb +21 -31
- data/lib/graphql/static_validation/definition_dependencies.rb +0 -1
- data/lib/graphql/static_validation/error.rb +3 -1
- data/lib/graphql/static_validation/literal_validator.rb +51 -26
- data/lib/graphql/static_validation/rules/argument_literals_are_compatible.rb +45 -83
- data/lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb +22 -6
- data/lib/graphql/static_validation/rules/arguments_are_defined.rb +35 -26
- data/lib/graphql/static_validation/rules/arguments_are_defined_error.rb +4 -2
- data/lib/graphql/static_validation/rules/directives_are_defined.rb +1 -1
- data/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb +14 -14
- data/lib/graphql/static_validation/rules/fields_are_defined_on_type.rb +4 -4
- data/lib/graphql/static_validation/rules/fields_have_appropriate_selections.rb +5 -5
- data/lib/graphql/static_validation/rules/fields_will_merge.rb +94 -51
- data/lib/graphql/static_validation/rules/fields_will_merge_error.rb +25 -4
- data/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb +3 -3
- data/lib/graphql/static_validation/rules/fragments_are_finite.rb +2 -2
- data/lib/graphql/static_validation/rules/input_object_names_are_unique.rb +30 -0
- data/lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb +30 -0
- data/lib/graphql/static_validation/rules/query_root_exists.rb +17 -0
- data/lib/graphql/static_validation/rules/query_root_exists_error.rb +26 -0
- data/lib/graphql/static_validation/rules/required_arguments_are_present.rb +4 -2
- data/lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb +9 -10
- data/lib/graphql/static_validation/rules/unique_directives_per_location.rb +1 -1
- data/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb +12 -13
- data/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb +19 -14
- data/lib/graphql/static_validation/rules/variables_are_input_types.rb +1 -1
- data/lib/graphql/static_validation/rules/variables_are_used_and_defined.rb +5 -3
- data/lib/graphql/static_validation/type_stack.rb +2 -2
- data/lib/graphql/static_validation/validation_context.rb +13 -3
- data/lib/graphql/static_validation/validation_timeout_error.rb +25 -0
- data/lib/graphql/static_validation/validator.rb +31 -19
- data/lib/graphql/static_validation.rb +1 -2
- data/lib/graphql/string_encoding_error.rb +13 -3
- data/lib/graphql/subscriptions/action_cable_subscriptions.rb +123 -22
- data/lib/graphql/subscriptions/broadcast_analyzer.rb +81 -0
- data/lib/graphql/subscriptions/default_subscription_resolve_extension.rb +58 -0
- data/lib/graphql/subscriptions/event.rb +85 -31
- data/lib/graphql/subscriptions/instrumentation.rb +0 -47
- data/lib/graphql/subscriptions/serialize.rb +53 -6
- data/lib/graphql/subscriptions.rb +111 -52
- data/lib/graphql/tracing/active_support_notifications_tracing.rb +8 -17
- data/lib/graphql/tracing/appoptics_tracing.rb +173 -0
- data/lib/graphql/tracing/appsignal_tracing.rb +23 -0
- data/lib/graphql/tracing/data_dog_tracing.rb +14 -1
- data/lib/graphql/tracing/new_relic_tracing.rb +9 -12
- data/lib/graphql/tracing/notifications_tracing.rb +59 -0
- data/lib/graphql/tracing/platform_tracing.rb +57 -29
- data/lib/graphql/tracing/prometheus_tracing/graphql_collector.rb +4 -1
- data/lib/graphql/tracing/prometheus_tracing.rb +8 -0
- data/lib/graphql/tracing/scout_tracing.rb +19 -0
- data/lib/graphql/tracing/statsd_tracing.rb +42 -0
- data/lib/graphql/tracing.rb +15 -36
- data/lib/graphql/types/big_int.rb +5 -1
- data/lib/graphql/types/int.rb +10 -3
- data/lib/graphql/types/iso_8601_date.rb +16 -8
- data/lib/graphql/types/iso_8601_date_time.rb +32 -10
- data/lib/graphql/types/relay/base_connection.rb +6 -88
- data/lib/graphql/types/relay/base_edge.rb +2 -34
- data/lib/graphql/types/relay/connection_behaviors.rb +170 -0
- data/lib/graphql/types/relay/default_relay.rb +21 -0
- data/lib/graphql/types/relay/edge_behaviors.rb +64 -0
- data/lib/graphql/types/relay/has_node_field.rb +41 -0
- data/lib/graphql/types/relay/has_nodes_field.rb +41 -0
- data/lib/graphql/types/relay/node.rb +2 -4
- data/lib/graphql/types/relay/node_behaviors.rb +19 -0
- data/lib/graphql/types/relay/page_info.rb +2 -14
- data/lib/graphql/types/relay/page_info_behaviors.rb +25 -0
- data/lib/graphql/types/relay.rb +11 -5
- data/lib/graphql/types/string.rb +8 -2
- data/lib/graphql/unauthorized_error.rb +2 -2
- data/lib/graphql/unresolved_type_error.rb +2 -2
- data/lib/graphql/version.rb +1 -1
- data/lib/graphql.rb +41 -58
- data/readme.md +3 -6
- metadata +97 -231
- data/lib/graphql/analysis/analyze_query.rb +0 -91
- data/lib/graphql/analysis/field_usage.rb +0 -45
- data/lib/graphql/analysis/max_query_complexity.rb +0 -26
- data/lib/graphql/analysis/max_query_depth.rb +0 -26
- data/lib/graphql/analysis/query_complexity.rb +0 -88
- data/lib/graphql/analysis/query_depth.rb +0 -43
- data/lib/graphql/analysis/reducer_state.rb +0 -48
- data/lib/graphql/argument.rb +0 -159
- data/lib/graphql/authorization.rb +0 -82
- data/lib/graphql/backwards_compatibility.rb +0 -60
- data/lib/graphql/base_type.rb +0 -226
- data/lib/graphql/boolean_type.rb +0 -2
- data/lib/graphql/compatibility/execution_specification/counter_schema.rb +0 -53
- data/lib/graphql/compatibility/execution_specification/specification_schema.rb +0 -200
- data/lib/graphql/compatibility/execution_specification.rb +0 -435
- data/lib/graphql/compatibility/lazy_execution_specification/lazy_schema.rb +0 -111
- data/lib/graphql/compatibility/lazy_execution_specification.rb +0 -213
- data/lib/graphql/compatibility/query_parser_specification/parse_error_specification.rb +0 -91
- data/lib/graphql/compatibility/query_parser_specification/query_assertions.rb +0 -79
- data/lib/graphql/compatibility/query_parser_specification.rb +0 -264
- data/lib/graphql/compatibility/schema_parser_specification.rb +0 -680
- data/lib/graphql/compatibility.rb +0 -5
- data/lib/graphql/define/assign_argument.rb +0 -12
- data/lib/graphql/define/assign_connection.rb +0 -13
- data/lib/graphql/define/assign_enum_value.rb +0 -18
- data/lib/graphql/define/assign_global_id_field.rb +0 -11
- data/lib/graphql/define/assign_mutation_function.rb +0 -34
- data/lib/graphql/define/assign_object_field.rb +0 -42
- data/lib/graphql/define/defined_object_proxy.rb +0 -53
- data/lib/graphql/define/instance_definable.rb +0 -311
- data/lib/graphql/define/no_definition_error.rb +0 -7
- data/lib/graphql/define/non_null_with_bang.rb +0 -16
- data/lib/graphql/define/type_definer.rb +0 -31
- data/lib/graphql/define.rb +0 -31
- data/lib/graphql/deprecated_dsl.rb +0 -42
- data/lib/graphql/directive/deprecated_directive.rb +0 -13
- data/lib/graphql/directive/include_directive.rb +0 -2
- data/lib/graphql/directive/skip_directive.rb +0 -2
- data/lib/graphql/directive.rb +0 -104
- data/lib/graphql/enum_type.rb +0 -193
- data/lib/graphql/execution/execute.rb +0 -326
- data/lib/graphql/execution/flatten.rb +0 -40
- data/lib/graphql/execution/interpreter/hash_response.rb +0 -46
- data/lib/graphql/execution/typecast.rb +0 -50
- data/lib/graphql/field/resolve.rb +0 -59
- data/lib/graphql/field.rb +0 -330
- data/lib/graphql/float_type.rb +0 -2
- data/lib/graphql/function.rb +0 -153
- data/lib/graphql/id_type.rb +0 -2
- data/lib/graphql/input_object_type.rb +0 -154
- data/lib/graphql/int_type.rb +0 -2
- data/lib/graphql/interface_type.rb +0 -86
- data/lib/graphql/internal_representation/document.rb +0 -27
- data/lib/graphql/internal_representation/node.rb +0 -206
- data/lib/graphql/internal_representation/print.rb +0 -51
- data/lib/graphql/internal_representation/rewrite.rb +0 -184
- data/lib/graphql/internal_representation/scope.rb +0 -88
- data/lib/graphql/internal_representation/visit.rb +0 -36
- data/lib/graphql/internal_representation.rb +0 -7
- data/lib/graphql/list_type.rb +0 -80
- data/lib/graphql/literal_validation_error.rb +0 -6
- data/lib/graphql/non_null_type.rb +0 -81
- data/lib/graphql/object_type.rb +0 -141
- data/lib/graphql/query/arguments.rb +0 -187
- data/lib/graphql/query/arguments_cache.rb +0 -25
- data/lib/graphql/query/executor.rb +0 -53
- data/lib/graphql/query/serial_execution/field_resolution.rb +0 -92
- data/lib/graphql/query/serial_execution/operation_resolution.rb +0 -19
- data/lib/graphql/query/serial_execution/selection_resolution.rb +0 -23
- data/lib/graphql/query/serial_execution/value_resolution.rb +0 -87
- data/lib/graphql/query/serial_execution.rb +0 -39
- data/lib/graphql/relay/array_connection.rb +0 -85
- data/lib/graphql/relay/base_connection.rb +0 -172
- data/lib/graphql/relay/connection_instrumentation.rb +0 -54
- data/lib/graphql/relay/connection_resolve.rb +0 -43
- data/lib/graphql/relay/connection_type.rb +0 -40
- data/lib/graphql/relay/edge.rb +0 -27
- data/lib/graphql/relay/edge_type.rb +0 -18
- data/lib/graphql/relay/edges_instrumentation.rb +0 -40
- data/lib/graphql/relay/global_id_resolve.rb +0 -18
- data/lib/graphql/relay/mongo_relation_connection.rb +0 -50
- data/lib/graphql/relay/mutation/instrumentation.rb +0 -23
- data/lib/graphql/relay/mutation/resolve.rb +0 -56
- data/lib/graphql/relay/mutation/result.rb +0 -38
- data/lib/graphql/relay/mutation.rb +0 -190
- data/lib/graphql/relay/node.rb +0 -36
- data/lib/graphql/relay/page_info.rb +0 -7
- data/lib/graphql/relay/relation_connection.rb +0 -190
- data/lib/graphql/relay/type_extensions.rb +0 -30
- data/lib/graphql/scalar_type.rb +0 -133
- data/lib/graphql/schema/catchall_middleware.rb +0 -35
- data/lib/graphql/schema/default_parse_error.rb +0 -10
- data/lib/graphql/schema/default_type_error.rb +0 -15
- data/lib/graphql/schema/member/accepts_definition.rb +0 -152
- data/lib/graphql/schema/member/cached_graphql_definition.rb +0 -26
- data/lib/graphql/schema/member/instrumentation.rb +0 -132
- data/lib/graphql/schema/middleware_chain.rb +0 -82
- data/lib/graphql/schema/possible_types.rb +0 -39
- data/lib/graphql/schema/rescue_middleware.rb +0 -60
- data/lib/graphql/schema/timeout_middleware.rb +0 -86
- data/lib/graphql/schema/traversal.rb +0 -228
- data/lib/graphql/schema/validation.rb +0 -303
- data/lib/graphql/static_validation/default_visitor.rb +0 -15
- data/lib/graphql/static_validation/no_validate_visitor.rb +0 -10
- data/lib/graphql/string_type.rb +0 -2
- data/lib/graphql/subscriptions/subscription_root.rb +0 -74
- data/lib/graphql/tracing/skylight_tracing.rb +0 -62
- data/lib/graphql/types/relay/base_field.rb +0 -22
- data/lib/graphql/types/relay/base_interface.rb +0 -29
- data/lib/graphql/types/relay/base_object.rb +0 -26
- data/lib/graphql/types/relay/node_field.rb +0 -43
- data/lib/graphql/types/relay/nodes_field.rb +0 -45
- data/lib/graphql/union_type.rb +0 -135
- data/lib/graphql/upgrader/member.rb +0 -936
- data/lib/graphql/upgrader/schema.rb +0 -37
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:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: codeclimate-test-reporter
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.4'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.4'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: concurrent-ruby
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,76 +38,6 @@ dependencies:
|
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
40
|
version: '1.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: guard
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '2.12'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '2.12'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: guard-minitest
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '2.4'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '2.4'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: guard-rake
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: guard-rubocop
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: listen
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: 3.0.0
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: 3.0.0
|
125
41
|
- !ruby/object:Gem::Dependency
|
126
42
|
name: memory_profiler
|
127
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,16 +128,16 @@ dependencies:
|
|
212
128
|
requirements:
|
213
129
|
- - '='
|
214
130
|
- !ruby/object:Gem::Version
|
215
|
-
version: '
|
131
|
+
version: '1.12'
|
216
132
|
type: :development
|
217
133
|
prerelease: false
|
218
134
|
version_requirements: !ruby/object:Gem::Requirement
|
219
135
|
requirements:
|
220
136
|
- - '='
|
221
137
|
- !ruby/object:Gem::Version
|
222
|
-
version: '
|
138
|
+
version: '1.12'
|
223
139
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
140
|
+
name: jekyll
|
225
141
|
requirement: !ruby/object:Gem::Requirement
|
226
142
|
requirements:
|
227
143
|
- - ">="
|
@@ -235,7 +151,7 @@ dependencies:
|
|
235
151
|
- !ruby/object:Gem::Version
|
236
152
|
version: '0'
|
237
153
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
154
|
+
name: yard
|
239
155
|
requirement: !ruby/object:Gem::Requirement
|
240
156
|
requirements:
|
241
157
|
- - ">="
|
@@ -249,7 +165,7 @@ dependencies:
|
|
249
165
|
- !ruby/object:Gem::Version
|
250
166
|
version: '0'
|
251
167
|
- !ruby/object:Gem::Dependency
|
252
|
-
name: jekyll
|
168
|
+
name: jekyll-algolia
|
253
169
|
requirement: !ruby/object:Gem::Requirement
|
254
170
|
requirements:
|
255
171
|
- - ">="
|
@@ -263,7 +179,7 @@ dependencies:
|
|
263
179
|
- !ruby/object:Gem::Version
|
264
180
|
version: '0'
|
265
181
|
- !ruby/object:Gem::Dependency
|
266
|
-
name:
|
182
|
+
name: jekyll-redirect-from
|
267
183
|
requirement: !ruby/object:Gem::Requirement
|
268
184
|
requirements:
|
269
185
|
- - ">="
|
@@ -277,21 +193,21 @@ dependencies:
|
|
277
193
|
- !ruby/object:Gem::Version
|
278
194
|
version: '0'
|
279
195
|
- !ruby/object:Gem::Dependency
|
280
|
-
name:
|
196
|
+
name: m
|
281
197
|
requirement: !ruby/object:Gem::Requirement
|
282
198
|
requirements:
|
283
|
-
- - "
|
199
|
+
- - "~>"
|
284
200
|
- !ruby/object:Gem::Version
|
285
|
-
version:
|
201
|
+
version: 1.5.0
|
286
202
|
type: :development
|
287
203
|
prerelease: false
|
288
204
|
version_requirements: !ruby/object:Gem::Requirement
|
289
205
|
requirements:
|
290
|
-
- - "
|
206
|
+
- - "~>"
|
291
207
|
- !ruby/object:Gem::Version
|
292
|
-
version:
|
208
|
+
version: 1.5.0
|
293
209
|
- !ruby/object:Gem::Dependency
|
294
|
-
name:
|
210
|
+
name: webrick
|
295
211
|
requirement: !ruby/object:Gem::Requirement
|
296
212
|
requirements:
|
297
213
|
- - ">="
|
@@ -304,20 +220,6 @@ dependencies:
|
|
304
220
|
- - ">="
|
305
221
|
- !ruby/object:Gem::Version
|
306
222
|
version: '0'
|
307
|
-
- !ruby/object:Gem::Dependency
|
308
|
-
name: m
|
309
|
-
requirement: !ruby/object:Gem::Requirement
|
310
|
-
requirements:
|
311
|
-
- - "~>"
|
312
|
-
- !ruby/object:Gem::Version
|
313
|
-
version: 1.5.0
|
314
|
-
type: :development
|
315
|
-
prerelease: false
|
316
|
-
version_requirements: !ruby/object:Gem::Requirement
|
317
|
-
requirements:
|
318
|
-
- - "~>"
|
319
|
-
- !ruby/object:Gem::Version
|
320
|
-
version: 1.5.0
|
321
223
|
description: A plain-Ruby implementation of GraphQL.
|
322
224
|
email:
|
323
225
|
- rdmosolgo@gmail.com
|
@@ -329,27 +231,43 @@ files:
|
|
329
231
|
- MIT-LICENSE
|
330
232
|
- lib/generators/graphql/core.rb
|
331
233
|
- lib/generators/graphql/enum_generator.rb
|
234
|
+
- lib/generators/graphql/field_extractor.rb
|
235
|
+
- lib/generators/graphql/input_generator.rb
|
236
|
+
- lib/generators/graphql/install/mutation_root_generator.rb
|
237
|
+
- lib/generators/graphql/install/templates/base_mutation.erb
|
238
|
+
- lib/generators/graphql/install/templates/mutation_type.erb
|
332
239
|
- lib/generators/graphql/install_generator.rb
|
333
240
|
- lib/generators/graphql/interface_generator.rb
|
334
241
|
- lib/generators/graphql/loader_generator.rb
|
242
|
+
- lib/generators/graphql/mutation_create_generator.rb
|
243
|
+
- lib/generators/graphql/mutation_delete_generator.rb
|
335
244
|
- lib/generators/graphql/mutation_generator.rb
|
245
|
+
- lib/generators/graphql/mutation_update_generator.rb
|
336
246
|
- lib/generators/graphql/object_generator.rb
|
247
|
+
- lib/generators/graphql/orm_mutations_base.rb
|
248
|
+
- lib/generators/graphql/relay.rb
|
249
|
+
- lib/generators/graphql/relay_generator.rb
|
337
250
|
- lib/generators/graphql/scalar_generator.rb
|
338
251
|
- lib/generators/graphql/templates/base_argument.erb
|
252
|
+
- lib/generators/graphql/templates/base_connection.erb
|
253
|
+
- lib/generators/graphql/templates/base_edge.erb
|
339
254
|
- lib/generators/graphql/templates/base_enum.erb
|
340
255
|
- lib/generators/graphql/templates/base_field.erb
|
341
256
|
- lib/generators/graphql/templates/base_input_object.erb
|
342
257
|
- lib/generators/graphql/templates/base_interface.erb
|
343
|
-
- lib/generators/graphql/templates/base_mutation.erb
|
344
258
|
- lib/generators/graphql/templates/base_object.erb
|
345
259
|
- lib/generators/graphql/templates/base_scalar.erb
|
346
260
|
- lib/generators/graphql/templates/base_union.erb
|
347
261
|
- lib/generators/graphql/templates/enum.erb
|
348
262
|
- lib/generators/graphql/templates/graphql_controller.erb
|
263
|
+
- lib/generators/graphql/templates/input.erb
|
349
264
|
- lib/generators/graphql/templates/interface.erb
|
350
265
|
- lib/generators/graphql/templates/loader.erb
|
351
266
|
- lib/generators/graphql/templates/mutation.erb
|
352
|
-
- lib/generators/graphql/templates/
|
267
|
+
- lib/generators/graphql/templates/mutation_create.erb
|
268
|
+
- lib/generators/graphql/templates/mutation_delete.erb
|
269
|
+
- lib/generators/graphql/templates/mutation_update.erb
|
270
|
+
- lib/generators/graphql/templates/node_type.erb
|
353
271
|
- lib/generators/graphql/templates/object.erb
|
354
272
|
- lib/generators/graphql/templates/query_type.erb
|
355
273
|
- lib/generators/graphql/templates/scalar.erb
|
@@ -359,7 +277,6 @@ files:
|
|
359
277
|
- lib/generators/graphql/union_generator.rb
|
360
278
|
- lib/graphql.rb
|
361
279
|
- lib/graphql/analysis.rb
|
362
|
-
- lib/graphql/analysis/analyze_query.rb
|
363
280
|
- lib/graphql/analysis/ast.rb
|
364
281
|
- lib/graphql/analysis/ast/analyzer.rb
|
365
282
|
- lib/graphql/analysis/ast/field_usage.rb
|
@@ -368,62 +285,31 @@ files:
|
|
368
285
|
- lib/graphql/analysis/ast/query_complexity.rb
|
369
286
|
- lib/graphql/analysis/ast/query_depth.rb
|
370
287
|
- lib/graphql/analysis/ast/visitor.rb
|
371
|
-
- lib/graphql/analysis/field_usage.rb
|
372
|
-
- lib/graphql/analysis/max_query_complexity.rb
|
373
|
-
- lib/graphql/analysis/max_query_depth.rb
|
374
|
-
- lib/graphql/analysis/query_complexity.rb
|
375
|
-
- lib/graphql/analysis/query_depth.rb
|
376
|
-
- lib/graphql/analysis/reducer_state.rb
|
377
288
|
- lib/graphql/analysis_error.rb
|
378
|
-
- lib/graphql/argument.rb
|
379
|
-
- lib/graphql/authorization.rb
|
380
289
|
- lib/graphql/backtrace.rb
|
381
290
|
- lib/graphql/backtrace/inspect_result.rb
|
382
291
|
- lib/graphql/backtrace/table.rb
|
383
292
|
- lib/graphql/backtrace/traced_error.rb
|
384
293
|
- lib/graphql/backtrace/tracer.rb
|
385
|
-
- lib/graphql/backwards_compatibility.rb
|
386
|
-
- lib/graphql/base_type.rb
|
387
|
-
- lib/graphql/boolean_type.rb
|
388
294
|
- lib/graphql/coercion_error.rb
|
389
|
-
- lib/graphql/
|
390
|
-
- lib/graphql/
|
391
|
-
- lib/graphql/
|
392
|
-
- lib/graphql/
|
393
|
-
- lib/graphql/
|
394
|
-
- lib/graphql/
|
395
|
-
- lib/graphql/
|
396
|
-
- lib/graphql/compatibility/query_parser_specification/parse_error_specification.rb
|
397
|
-
- lib/graphql/compatibility/query_parser_specification/query_assertions.rb
|
398
|
-
- lib/graphql/compatibility/schema_parser_specification.rb
|
399
|
-
- lib/graphql/define.rb
|
400
|
-
- lib/graphql/define/assign_argument.rb
|
401
|
-
- lib/graphql/define/assign_connection.rb
|
402
|
-
- lib/graphql/define/assign_enum_value.rb
|
403
|
-
- lib/graphql/define/assign_global_id_field.rb
|
404
|
-
- lib/graphql/define/assign_mutation_function.rb
|
405
|
-
- lib/graphql/define/assign_object_field.rb
|
406
|
-
- lib/graphql/define/defined_object_proxy.rb
|
407
|
-
- lib/graphql/define/instance_definable.rb
|
408
|
-
- lib/graphql/define/no_definition_error.rb
|
409
|
-
- lib/graphql/define/non_null_with_bang.rb
|
410
|
-
- lib/graphql/define/type_definer.rb
|
411
|
-
- lib/graphql/deprecated_dsl.rb
|
295
|
+
- lib/graphql/dataloader.rb
|
296
|
+
- lib/graphql/dataloader/null_dataloader.rb
|
297
|
+
- lib/graphql/dataloader/request.rb
|
298
|
+
- lib/graphql/dataloader/request_all.rb
|
299
|
+
- lib/graphql/dataloader/source.rb
|
300
|
+
- lib/graphql/date_encoding_error.rb
|
301
|
+
- lib/graphql/deprecation.rb
|
412
302
|
- lib/graphql/dig.rb
|
413
|
-
- lib/graphql/directive.rb
|
414
|
-
- lib/graphql/directive/deprecated_directive.rb
|
415
|
-
- lib/graphql/directive/include_directive.rb
|
416
|
-
- lib/graphql/directive/skip_directive.rb
|
417
|
-
- lib/graphql/enum_type.rb
|
418
303
|
- lib/graphql/execution.rb
|
419
304
|
- lib/graphql/execution/directive_checks.rb
|
420
305
|
- lib/graphql/execution/errors.rb
|
421
|
-
- lib/graphql/execution/execute.rb
|
422
|
-
- lib/graphql/execution/flatten.rb
|
423
306
|
- lib/graphql/execution/instrumentation.rb
|
424
307
|
- lib/graphql/execution/interpreter.rb
|
308
|
+
- lib/graphql/execution/interpreter/argument_value.rb
|
309
|
+
- lib/graphql/execution/interpreter/arguments.rb
|
310
|
+
- lib/graphql/execution/interpreter/arguments_cache.rb
|
425
311
|
- lib/graphql/execution/interpreter/execution_errors.rb
|
426
|
-
- lib/graphql/execution/interpreter/
|
312
|
+
- lib/graphql/execution/interpreter/handles_raw_value.rb
|
427
313
|
- lib/graphql/execution/interpreter/resolve.rb
|
428
314
|
- lib/graphql/execution/interpreter/runtime.rb
|
429
315
|
- lib/graphql/execution/lazy.rb
|
@@ -431,25 +317,10 @@ files:
|
|
431
317
|
- lib/graphql/execution/lazy/resolve.rb
|
432
318
|
- lib/graphql/execution/lookahead.rb
|
433
319
|
- lib/graphql/execution/multiplex.rb
|
434
|
-
- lib/graphql/execution/typecast.rb
|
435
320
|
- lib/graphql/execution_error.rb
|
436
|
-
- lib/graphql/field.rb
|
437
|
-
- lib/graphql/field/resolve.rb
|
438
321
|
- lib/graphql/filter.rb
|
439
|
-
- lib/graphql/
|
440
|
-
- lib/graphql/function.rb
|
441
|
-
- lib/graphql/id_type.rb
|
442
|
-
- lib/graphql/input_object_type.rb
|
443
|
-
- lib/graphql/int_type.rb
|
322
|
+
- lib/graphql/integer_decoding_error.rb
|
444
323
|
- lib/graphql/integer_encoding_error.rb
|
445
|
-
- lib/graphql/interface_type.rb
|
446
|
-
- lib/graphql/internal_representation.rb
|
447
|
-
- lib/graphql/internal_representation/document.rb
|
448
|
-
- lib/graphql/internal_representation/node.rb
|
449
|
-
- lib/graphql/internal_representation/print.rb
|
450
|
-
- lib/graphql/internal_representation/rewrite.rb
|
451
|
-
- lib/graphql/internal_representation/scope.rb
|
452
|
-
- lib/graphql/internal_representation/visit.rb
|
453
324
|
- lib/graphql/introspection.rb
|
454
325
|
- lib/graphql/introspection/base_object.rb
|
455
326
|
- lib/graphql/introspection/directive_location_enum.rb
|
@@ -467,6 +338,7 @@ files:
|
|
467
338
|
- lib/graphql/invalid_null_error.rb
|
468
339
|
- lib/graphql/language.rb
|
469
340
|
- lib/graphql/language/block_string.rb
|
341
|
+
- lib/graphql/language/cache.rb
|
470
342
|
- lib/graphql/language/definition_slice.rb
|
471
343
|
- lib/graphql/language/document_from_schema_definition.rb
|
472
344
|
- lib/graphql/language/generation.rb
|
@@ -476,29 +348,27 @@ files:
|
|
476
348
|
- lib/graphql/language/parser.rb
|
477
349
|
- lib/graphql/language/parser.y
|
478
350
|
- lib/graphql/language/printer.rb
|
351
|
+
- lib/graphql/language/sanitized_printer.rb
|
479
352
|
- lib/graphql/language/token.rb
|
480
353
|
- lib/graphql/language/visitor.rb
|
481
|
-
- lib/graphql/list_type.rb
|
482
|
-
- lib/graphql/literal_validation_error.rb
|
483
354
|
- lib/graphql/load_application_object_failed_error.rb
|
484
355
|
- lib/graphql/name_validator.rb
|
485
|
-
- lib/graphql/
|
486
|
-
- lib/graphql/
|
356
|
+
- lib/graphql/pagination.rb
|
357
|
+
- lib/graphql/pagination/active_record_relation_connection.rb
|
358
|
+
- lib/graphql/pagination/array_connection.rb
|
359
|
+
- lib/graphql/pagination/connection.rb
|
360
|
+
- lib/graphql/pagination/connections.rb
|
361
|
+
- lib/graphql/pagination/mongoid_relation_connection.rb
|
362
|
+
- lib/graphql/pagination/relation_connection.rb
|
363
|
+
- lib/graphql/pagination/sequel_dataset_connection.rb
|
487
364
|
- lib/graphql/parse_error.rb
|
488
365
|
- lib/graphql/query.rb
|
489
|
-
- lib/graphql/query/arguments.rb
|
490
|
-
- lib/graphql/query/arguments_cache.rb
|
491
366
|
- lib/graphql/query/context.rb
|
492
|
-
- lib/graphql/query/
|
367
|
+
- lib/graphql/query/fingerprint.rb
|
493
368
|
- lib/graphql/query/input_validation_result.rb
|
494
369
|
- lib/graphql/query/literal_input.rb
|
495
370
|
- lib/graphql/query/null_context.rb
|
496
371
|
- lib/graphql/query/result.rb
|
497
|
-
- lib/graphql/query/serial_execution.rb
|
498
|
-
- lib/graphql/query/serial_execution/field_resolution.rb
|
499
|
-
- lib/graphql/query/serial_execution/operation_resolution.rb
|
500
|
-
- lib/graphql/query/serial_execution/selection_resolution.rb
|
501
|
-
- lib/graphql/query/serial_execution/value_resolution.rb
|
502
372
|
- lib/graphql/query/validation_pipeline.rb
|
503
373
|
- lib/graphql/query/variable_validation_error.rb
|
504
374
|
- lib/graphql/query/variables.rb
|
@@ -506,28 +376,14 @@ files:
|
|
506
376
|
- lib/graphql/rake_task.rb
|
507
377
|
- lib/graphql/rake_task/validate.rb
|
508
378
|
- lib/graphql/relay.rb
|
509
|
-
- lib/graphql/relay/array_connection.rb
|
510
|
-
- lib/graphql/relay/base_connection.rb
|
511
|
-
- lib/graphql/relay/connection_instrumentation.rb
|
512
|
-
- lib/graphql/relay/connection_resolve.rb
|
513
|
-
- lib/graphql/relay/connection_type.rb
|
514
|
-
- lib/graphql/relay/edge.rb
|
515
|
-
- lib/graphql/relay/edge_type.rb
|
516
|
-
- lib/graphql/relay/edges_instrumentation.rb
|
517
|
-
- lib/graphql/relay/global_id_resolve.rb
|
518
|
-
- lib/graphql/relay/mongo_relation_connection.rb
|
519
|
-
- lib/graphql/relay/mutation.rb
|
520
|
-
- lib/graphql/relay/mutation/instrumentation.rb
|
521
|
-
- lib/graphql/relay/mutation/resolve.rb
|
522
|
-
- lib/graphql/relay/mutation/result.rb
|
523
|
-
- lib/graphql/relay/node.rb
|
524
|
-
- lib/graphql/relay/page_info.rb
|
525
379
|
- lib/graphql/relay/range_add.rb
|
526
|
-
- lib/graphql/
|
527
|
-
- lib/graphql/
|
380
|
+
- lib/graphql/rubocop.rb
|
381
|
+
- lib/graphql/rubocop/graphql/base_cop.rb
|
382
|
+
- lib/graphql/rubocop/graphql/default_null_true.rb
|
383
|
+
- lib/graphql/rubocop/graphql/default_required_true.rb
|
528
384
|
- lib/graphql/runtime_type_error.rb
|
529
|
-
- lib/graphql/scalar_type.rb
|
530
385
|
- lib/graphql/schema.rb
|
386
|
+
- lib/graphql/schema/addition.rb
|
531
387
|
- lib/graphql/schema/argument.rb
|
532
388
|
- lib/graphql/schema/base_64_bp.rb
|
533
389
|
- lib/graphql/schema/base_64_encoder.rb
|
@@ -535,11 +391,10 @@ files:
|
|
535
391
|
- lib/graphql/schema/build_from_definition/resolve_map.rb
|
536
392
|
- lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb
|
537
393
|
- lib/graphql/schema/built_in_types.rb
|
538
|
-
- lib/graphql/schema/catchall_middleware.rb
|
539
|
-
- lib/graphql/schema/default_parse_error.rb
|
540
|
-
- lib/graphql/schema/default_type_error.rb
|
541
394
|
- lib/graphql/schema/directive.rb
|
395
|
+
- lib/graphql/schema/directive/deprecated.rb
|
542
396
|
- lib/graphql/schema/directive/feature.rb
|
397
|
+
- lib/graphql/schema/directive/flagged.rb
|
543
398
|
- lib/graphql/schema/directive/include.rb
|
544
399
|
- lib/graphql/schema/directive/skip.rb
|
545
400
|
- lib/graphql/schema/directive/transform.rb
|
@@ -559,50 +414,55 @@ files:
|
|
559
414
|
- lib/graphql/schema/list.rb
|
560
415
|
- lib/graphql/schema/loader.rb
|
561
416
|
- lib/graphql/schema/member.rb
|
562
|
-
- lib/graphql/schema/member/accepts_definition.rb
|
563
417
|
- lib/graphql/schema/member/base_dsl_methods.rb
|
564
418
|
- lib/graphql/schema/member/build_type.rb
|
565
|
-
- lib/graphql/schema/member/cached_graphql_definition.rb
|
566
419
|
- lib/graphql/schema/member/graphql_type_names.rb
|
567
420
|
- lib/graphql/schema/member/has_arguments.rb
|
421
|
+
- lib/graphql/schema/member/has_ast_node.rb
|
422
|
+
- lib/graphql/schema/member/has_deprecation_reason.rb
|
423
|
+
- lib/graphql/schema/member/has_directives.rb
|
568
424
|
- lib/graphql/schema/member/has_fields.rb
|
425
|
+
- lib/graphql/schema/member/has_interfaces.rb
|
569
426
|
- lib/graphql/schema/member/has_path.rb
|
570
|
-
- lib/graphql/schema/member/
|
427
|
+
- lib/graphql/schema/member/has_unresolved_type_error.rb
|
428
|
+
- lib/graphql/schema/member/has_validators.rb
|
571
429
|
- lib/graphql/schema/member/relay_shortcuts.rb
|
572
430
|
- lib/graphql/schema/member/scoped.rb
|
573
431
|
- lib/graphql/schema/member/type_system_helpers.rb
|
574
|
-
- lib/graphql/schema/
|
432
|
+
- lib/graphql/schema/member/validates_input.rb
|
575
433
|
- lib/graphql/schema/mutation.rb
|
576
434
|
- lib/graphql/schema/non_null.rb
|
577
435
|
- lib/graphql/schema/null_mask.rb
|
578
436
|
- lib/graphql/schema/object.rb
|
579
|
-
- lib/graphql/schema/possible_types.rb
|
580
437
|
- lib/graphql/schema/printer.rb
|
581
438
|
- lib/graphql/schema/relay_classic_mutation.rb
|
582
|
-
- lib/graphql/schema/rescue_middleware.rb
|
583
439
|
- lib/graphql/schema/resolver.rb
|
584
440
|
- lib/graphql/schema/resolver/has_payload_type.rb
|
585
441
|
- lib/graphql/schema/scalar.rb
|
586
442
|
- lib/graphql/schema/subscription.rb
|
587
443
|
- lib/graphql/schema/timeout.rb
|
588
|
-
- lib/graphql/schema/timeout_middleware.rb
|
589
|
-
- lib/graphql/schema/traversal.rb
|
590
444
|
- lib/graphql/schema/type_expression.rb
|
591
445
|
- lib/graphql/schema/type_membership.rb
|
592
446
|
- lib/graphql/schema/union.rb
|
593
447
|
- lib/graphql/schema/unique_within_type.rb
|
594
|
-
- lib/graphql/schema/
|
448
|
+
- lib/graphql/schema/validator.rb
|
449
|
+
- lib/graphql/schema/validator/allow_blank_validator.rb
|
450
|
+
- lib/graphql/schema/validator/allow_null_validator.rb
|
451
|
+
- lib/graphql/schema/validator/exclusion_validator.rb
|
452
|
+
- lib/graphql/schema/validator/format_validator.rb
|
453
|
+
- lib/graphql/schema/validator/inclusion_validator.rb
|
454
|
+
- lib/graphql/schema/validator/length_validator.rb
|
455
|
+
- lib/graphql/schema/validator/numericality_validator.rb
|
456
|
+
- lib/graphql/schema/validator/required_validator.rb
|
595
457
|
- lib/graphql/schema/warden.rb
|
596
458
|
- lib/graphql/schema/wrapper.rb
|
597
459
|
- lib/graphql/static_validation.rb
|
598
460
|
- lib/graphql/static_validation/all_rules.rb
|
599
461
|
- lib/graphql/static_validation/base_visitor.rb
|
600
|
-
- lib/graphql/static_validation/default_visitor.rb
|
601
462
|
- lib/graphql/static_validation/definition_dependencies.rb
|
602
463
|
- lib/graphql/static_validation/error.rb
|
603
464
|
- lib/graphql/static_validation/interpreter_visitor.rb
|
604
465
|
- lib/graphql/static_validation/literal_validator.rb
|
605
|
-
- lib/graphql/static_validation/no_validate_visitor.rb
|
606
466
|
- lib/graphql/static_validation/rules/argument_literals_are_compatible.rb
|
607
467
|
- lib/graphql/static_validation/rules/argument_literals_are_compatible_error.rb
|
608
468
|
- lib/graphql/static_validation/rules/argument_names_are_unique.rb
|
@@ -633,12 +493,16 @@ files:
|
|
633
493
|
- lib/graphql/static_validation/rules/fragments_are_on_composite_types_error.rb
|
634
494
|
- lib/graphql/static_validation/rules/fragments_are_used.rb
|
635
495
|
- lib/graphql/static_validation/rules/fragments_are_used_error.rb
|
496
|
+
- lib/graphql/static_validation/rules/input_object_names_are_unique.rb
|
497
|
+
- lib/graphql/static_validation/rules/input_object_names_are_unique_error.rb
|
636
498
|
- lib/graphql/static_validation/rules/mutation_root_exists.rb
|
637
499
|
- lib/graphql/static_validation/rules/mutation_root_exists_error.rb
|
638
500
|
- lib/graphql/static_validation/rules/no_definitions_are_present.rb
|
639
501
|
- lib/graphql/static_validation/rules/no_definitions_are_present_error.rb
|
640
502
|
- lib/graphql/static_validation/rules/operation_names_are_valid.rb
|
641
503
|
- lib/graphql/static_validation/rules/operation_names_are_valid_error.rb
|
504
|
+
- lib/graphql/static_validation/rules/query_root_exists.rb
|
505
|
+
- lib/graphql/static_validation/rules/query_root_exists_error.rb
|
642
506
|
- lib/graphql/static_validation/rules/required_arguments_are_present.rb
|
643
507
|
- lib/graphql/static_validation/rules/required_arguments_are_present_error.rb
|
644
508
|
- lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb
|
@@ -659,25 +523,28 @@ files:
|
|
659
523
|
- lib/graphql/static_validation/rules/variables_are_used_and_defined_error.rb
|
660
524
|
- lib/graphql/static_validation/type_stack.rb
|
661
525
|
- lib/graphql/static_validation/validation_context.rb
|
526
|
+
- lib/graphql/static_validation/validation_timeout_error.rb
|
662
527
|
- lib/graphql/static_validation/validator.rb
|
663
528
|
- lib/graphql/string_encoding_error.rb
|
664
|
-
- lib/graphql/string_type.rb
|
665
529
|
- lib/graphql/subscriptions.rb
|
666
530
|
- lib/graphql/subscriptions/action_cable_subscriptions.rb
|
531
|
+
- lib/graphql/subscriptions/broadcast_analyzer.rb
|
532
|
+
- lib/graphql/subscriptions/default_subscription_resolve_extension.rb
|
667
533
|
- lib/graphql/subscriptions/event.rb
|
668
534
|
- lib/graphql/subscriptions/instrumentation.rb
|
669
535
|
- lib/graphql/subscriptions/serialize.rb
|
670
|
-
- lib/graphql/subscriptions/subscription_root.rb
|
671
536
|
- lib/graphql/tracing.rb
|
672
537
|
- lib/graphql/tracing/active_support_notifications_tracing.rb
|
538
|
+
- lib/graphql/tracing/appoptics_tracing.rb
|
673
539
|
- lib/graphql/tracing/appsignal_tracing.rb
|
674
540
|
- lib/graphql/tracing/data_dog_tracing.rb
|
675
541
|
- lib/graphql/tracing/new_relic_tracing.rb
|
542
|
+
- lib/graphql/tracing/notifications_tracing.rb
|
676
543
|
- lib/graphql/tracing/platform_tracing.rb
|
677
544
|
- lib/graphql/tracing/prometheus_tracing.rb
|
678
545
|
- lib/graphql/tracing/prometheus_tracing/graphql_collector.rb
|
679
546
|
- lib/graphql/tracing/scout_tracing.rb
|
680
|
-
- lib/graphql/tracing/
|
547
|
+
- lib/graphql/tracing/statsd_tracing.rb
|
681
548
|
- lib/graphql/type_kinds.rb
|
682
549
|
- lib/graphql/types.rb
|
683
550
|
- lib/graphql/types/big_int.rb
|
@@ -691,20 +558,19 @@ files:
|
|
691
558
|
- lib/graphql/types/relay.rb
|
692
559
|
- lib/graphql/types/relay/base_connection.rb
|
693
560
|
- lib/graphql/types/relay/base_edge.rb
|
694
|
-
- lib/graphql/types/relay/
|
695
|
-
- lib/graphql/types/relay/
|
696
|
-
- lib/graphql/types/relay/
|
561
|
+
- lib/graphql/types/relay/connection_behaviors.rb
|
562
|
+
- lib/graphql/types/relay/default_relay.rb
|
563
|
+
- lib/graphql/types/relay/edge_behaviors.rb
|
564
|
+
- lib/graphql/types/relay/has_node_field.rb
|
565
|
+
- lib/graphql/types/relay/has_nodes_field.rb
|
697
566
|
- lib/graphql/types/relay/node.rb
|
698
|
-
- lib/graphql/types/relay/
|
699
|
-
- lib/graphql/types/relay/nodes_field.rb
|
567
|
+
- lib/graphql/types/relay/node_behaviors.rb
|
700
568
|
- lib/graphql/types/relay/page_info.rb
|
569
|
+
- lib/graphql/types/relay/page_info_behaviors.rb
|
701
570
|
- lib/graphql/types/string.rb
|
702
571
|
- lib/graphql/unauthorized_error.rb
|
703
572
|
- lib/graphql/unauthorized_field_error.rb
|
704
|
-
- lib/graphql/union_type.rb
|
705
573
|
- lib/graphql/unresolved_type_error.rb
|
706
|
-
- lib/graphql/upgrader/member.rb
|
707
|
-
- lib/graphql/upgrader/schema.rb
|
708
574
|
- lib/graphql/version.rb
|
709
575
|
- readme.md
|
710
576
|
homepage: https://github.com/rmosolgo/graphql-ruby
|
@@ -724,14 +590,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
724
590
|
requirements:
|
725
591
|
- - ">="
|
726
592
|
- !ruby/object:Gem::Version
|
727
|
-
version: 2.
|
593
|
+
version: 2.4.0
|
728
594
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
729
595
|
requirements:
|
730
596
|
- - ">="
|
731
597
|
- !ruby/object:Gem::Version
|
732
598
|
version: '0'
|
733
599
|
requirements: []
|
734
|
-
rubygems_version: 3.1.
|
600
|
+
rubygems_version: 3.1.6
|
735
601
|
signing_key:
|
736
602
|
specification_version: 4
|
737
603
|
summary: A GraphQL language and runtime for Ruby
|