graphql 1.9.17 → 1.10.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/templates/schema.erb +7 -0
- data/lib/graphql/analysis/ast/field_usage.rb +1 -1
- data/lib/graphql/analysis/ast/visitor.rb +3 -3
- data/lib/graphql/analysis/ast.rb +12 -11
- data/lib/graphql/argument.rb +7 -35
- data/lib/graphql/backtrace/table.rb +10 -2
- data/lib/graphql/base_type.rb +4 -0
- data/lib/graphql/compatibility/query_parser_specification/parse_error_specification.rb +5 -9
- data/lib/graphql/define/assign_enum_value.rb +1 -1
- data/lib/graphql/define/assign_object_field.rb +3 -3
- data/lib/graphql/define/defined_object_proxy.rb +8 -2
- data/lib/graphql/define/instance_definable.rb +10 -106
- data/lib/graphql/directive/deprecated_directive.rb +1 -12
- data/lib/graphql/directive.rb +4 -1
- data/lib/graphql/enum_type.rb +5 -71
- data/lib/graphql/execution/directive_checks.rb +2 -2
- data/lib/graphql/execution/errors.rb +2 -3
- data/lib/graphql/execution/execute.rb +1 -1
- data/lib/graphql/execution/interpreter/runtime.rb +106 -55
- data/lib/graphql/execution/interpreter.rb +5 -11
- data/lib/graphql/execution/lazy/lazy_method_map.rb +4 -0
- data/lib/graphql/execution/lookahead.rb +5 -5
- data/lib/graphql/execution/multiplex.rb +13 -3
- data/lib/graphql/field.rb +9 -117
- data/lib/graphql/filter.rb +1 -1
- data/lib/graphql/function.rb +1 -30
- data/lib/graphql/input_object_type.rb +2 -24
- data/lib/graphql/interface_type.rb +2 -23
- data/lib/graphql/introspection/base_object.rb +2 -5
- data/lib/graphql/introspection/directive_type.rb +1 -1
- data/lib/graphql/introspection/entry_points.rb +7 -7
- data/lib/graphql/introspection/input_value_type.rb +27 -9
- data/lib/graphql/introspection/schema_type.rb +1 -6
- data/lib/graphql/introspection/type_type.rb +5 -5
- data/lib/graphql/language/definition_slice.rb +21 -10
- data/lib/graphql/language/document_from_schema_definition.rb +50 -44
- data/lib/graphql/language/nodes.rb +3 -3
- data/lib/graphql/language/parser.rb +644 -646
- data/lib/graphql/language/parser.y +6 -4
- data/lib/graphql/language.rb +1 -1
- data/lib/graphql/non_null_type.rb +0 -10
- data/lib/graphql/object_type.rb +1 -21
- data/lib/graphql/pagination/active_record_relation_connection.rb +35 -0
- data/lib/graphql/pagination/array_connection.rb +77 -0
- data/lib/graphql/pagination/connection.rb +171 -0
- data/lib/graphql/pagination/connections.rb +108 -0
- data/lib/graphql/pagination/mongoid_relation_connection.rb +25 -0
- data/lib/graphql/pagination/relation_connection.rb +151 -0
- data/lib/graphql/pagination/sequel_dataset_connection.rb +28 -0
- data/lib/graphql/pagination.rb +6 -0
- data/lib/graphql/query/arguments.rb +2 -1
- data/lib/graphql/query/context.rb +2 -5
- data/lib/graphql/query/literal_input.rb +30 -10
- data/lib/graphql/query/variable_validation_error.rb +1 -1
- data/lib/graphql/query/variables.rb +7 -3
- data/lib/graphql/query.rb +9 -5
- data/lib/graphql/relay/base_connection.rb +4 -0
- data/lib/graphql/relay/connection_type.rb +2 -1
- data/lib/graphql/relay/edge_type.rb +1 -0
- data/lib/graphql/relay/edges_instrumentation.rb +1 -1
- data/lib/graphql/relay/mutation.rb +1 -86
- data/lib/graphql/relay/node.rb +2 -2
- data/lib/graphql/scalar_type.rb +1 -58
- data/lib/graphql/schema/argument.rb +51 -6
- data/lib/graphql/schema/build_from_definition/resolve_map/default_resolve.rb +1 -1
- data/lib/graphql/schema/build_from_definition/resolve_map.rb +10 -4
- data/lib/graphql/schema/build_from_definition.rb +167 -178
- data/lib/graphql/schema/built_in_types.rb +5 -5
- data/lib/graphql/schema/directive/deprecated.rb +18 -0
- data/lib/graphql/schema/directive.rb +28 -2
- data/lib/graphql/schema/enum.rb +40 -3
- data/lib/graphql/schema/enum_value.rb +5 -1
- data/lib/graphql/schema/field/connection_extension.rb +11 -1
- data/lib/graphql/schema/field.rb +59 -31
- data/lib/graphql/schema/find_inherited_value.rb +13 -0
- data/lib/graphql/schema/finder.rb +13 -11
- data/lib/graphql/schema/input_object.rb +107 -2
- data/lib/graphql/schema/interface.rb +10 -7
- data/lib/graphql/schema/introspection_system.rb +108 -37
- data/lib/graphql/schema/late_bound_type.rb +1 -0
- data/lib/graphql/schema/list.rb +41 -0
- data/lib/graphql/schema/loader.rb +16 -4
- data/lib/graphql/schema/member/base_dsl_methods.rb +21 -11
- data/lib/graphql/schema/member/build_type.rb +5 -1
- data/lib/graphql/schema/member/cached_graphql_definition.rb +5 -0
- data/lib/graphql/schema/member/has_arguments.rb +2 -2
- data/lib/graphql/schema/member/has_ast_node.rb +17 -0
- data/lib/graphql/schema/member/has_fields.rb +4 -4
- data/lib/graphql/schema/member/validates_input.rb +33 -0
- data/lib/graphql/schema/member.rb +5 -0
- data/lib/graphql/schema/mutation.rb +1 -1
- data/lib/graphql/schema/non_null.rb +25 -0
- data/lib/graphql/schema/object.rb +15 -5
- data/lib/graphql/schema/printer.rb +1 -2
- data/lib/graphql/schema/relay_classic_mutation.rb +1 -1
- data/lib/graphql/schema/resolver.rb +3 -15
- data/lib/graphql/schema/scalar.rb +19 -3
- data/lib/graphql/schema/subscription.rb +5 -5
- data/lib/graphql/schema/traversal.rb +1 -1
- data/lib/graphql/schema/type_expression.rb +21 -13
- data/lib/graphql/schema/type_membership.rb +2 -2
- data/lib/graphql/schema/union.rb +2 -3
- data/lib/graphql/schema/validation.rb +2 -2
- data/lib/graphql/schema/warden.rb +45 -20
- data/lib/graphql/schema.rb +764 -151
- data/lib/graphql/static_validation/base_visitor.rb +10 -6
- data/lib/graphql/static_validation/rules/argument_literals_are_compatible.rb +9 -4
- data/lib/graphql/static_validation/rules/arguments_are_defined.rb +10 -7
- data/lib/graphql/static_validation/rules/directives_are_in_valid_locations.rb +1 -1
- 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 +4 -4
- data/lib/graphql/static_validation/rules/fragment_spreads_are_possible.rb +3 -3
- data/lib/graphql/static_validation/rules/required_input_object_attributes_are_present.rb +3 -3
- data/lib/graphql/static_validation/rules/variable_default_values_are_correctly_typed.rb +3 -3
- data/lib/graphql/static_validation/rules/variable_usages_are_allowed.rb +5 -6
- 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 +1 -1
- data/lib/graphql/static_validation/type_stack.rb +2 -2
- data/lib/graphql/static_validation/validator.rb +1 -1
- data/lib/graphql/subscriptions/action_cable_subscriptions.rb +3 -3
- data/lib/graphql/subscriptions/event.rb +7 -4
- data/lib/graphql/subscriptions/instrumentation.rb +10 -5
- data/lib/graphql/subscriptions/subscription_root.rb +0 -1
- data/lib/graphql/subscriptions.rb +34 -9
- data/lib/graphql/tracing/active_support_notifications_tracing.rb +14 -10
- data/lib/graphql/tracing/appsignal_tracing.rb +8 -0
- data/lib/graphql/tracing/data_dog_tracing.rb +8 -0
- data/lib/graphql/tracing/new_relic_tracing.rb +8 -0
- data/lib/graphql/tracing/platform_tracing.rb +26 -6
- data/lib/graphql/tracing/prometheus_tracing.rb +8 -0
- data/lib/graphql/tracing/scout_tracing.rb +8 -0
- data/lib/graphql/tracing/skylight_tracing.rb +8 -0
- data/lib/graphql/tracing.rb +7 -3
- data/lib/graphql/types/int.rb +1 -1
- data/lib/graphql/types/relay/base_connection.rb +3 -1
- data/lib/graphql/union_type.rb +13 -28
- data/lib/graphql/unresolved_type_error.rb +2 -2
- data/lib/graphql/version.rb +1 -1
- data/lib/graphql.rb +2 -1
- metadata +15 -4
@@ -21,7 +21,6 @@ module GraphQL
|
|
21
21
|
def trace(key, data)
|
22
22
|
case key
|
23
23
|
when "lex", "parse", "validate", "analyze_query", "analyze_multiplex", "execute_query", "execute_query_lazy", "execute_multiplex"
|
24
|
-
data.fetch(:query).context.namespace(self.class)[:platform_key_cache] = {} if key == "execute_query"
|
25
24
|
platform_key = @platform_keys.fetch(key)
|
26
25
|
platform_trace(platform_key, key, data) do
|
27
26
|
yield
|
@@ -33,14 +32,13 @@ module GraphQL
|
|
33
32
|
trace_field = true # implemented with instrumenter
|
34
33
|
else
|
35
34
|
field = data[:field]
|
36
|
-
|
37
|
-
platform_key =
|
38
|
-
|
35
|
+
cache = platform_key_cache(data.fetch(:query).context)
|
36
|
+
platform_key = cache.fetch(field) do
|
37
|
+
cache[field] = platform_field_key(data[:owner], field)
|
39
38
|
end
|
40
39
|
|
41
40
|
return_type = field.type.unwrap
|
42
|
-
|
43
|
-
trace_field = if return_type.respond_to?(:kind) && (return_type.kind.scalar? || return_type.kind.enum?)
|
41
|
+
trace_field = if return_type.kind.scalar? || return_type.kind.enum?
|
44
42
|
(field.trace.nil? && @trace_scalars) || field.trace
|
45
43
|
else
|
46
44
|
true
|
@@ -54,6 +52,24 @@ module GraphQL
|
|
54
52
|
else
|
55
53
|
yield
|
56
54
|
end
|
55
|
+
when "authorized", "authorized_lazy"
|
56
|
+
cache = platform_key_cache(data.fetch(:context))
|
57
|
+
type = data.fetch(:type)
|
58
|
+
platform_key = cache.fetch(type) do
|
59
|
+
cache[type] = platform_authorized_key(type)
|
60
|
+
end
|
61
|
+
platform_trace(platform_key, key, data) do
|
62
|
+
yield
|
63
|
+
end
|
64
|
+
when "resolve_type", "resolve_type_lazy"
|
65
|
+
cache = platform_key_cache(data.fetch(:context))
|
66
|
+
type = data.fetch(:type)
|
67
|
+
platform_key = cache.fetch(type) do
|
68
|
+
cache[type] = platform_resolve_type_key(type)
|
69
|
+
end
|
70
|
+
platform_trace(platform_key, key, data) do
|
71
|
+
yield
|
72
|
+
end
|
57
73
|
else
|
58
74
|
# it's a custom key
|
59
75
|
yield
|
@@ -88,6 +104,10 @@ module GraphQL
|
|
88
104
|
|
89
105
|
private
|
90
106
|
attr_reader :options
|
107
|
+
|
108
|
+
def platform_key_cache(ctx)
|
109
|
+
ctx.namespace(self.class)[:platform_key_cache] ||= {}
|
110
|
+
end
|
91
111
|
end
|
92
112
|
end
|
93
113
|
end
|
@@ -36,6 +36,14 @@ module GraphQL
|
|
36
36
|
"#{type.graphql_name}.#{field.graphql_name}"
|
37
37
|
end
|
38
38
|
|
39
|
+
def platform_authorized_key(type)
|
40
|
+
"#{type.graphql_name}.authorized"
|
41
|
+
end
|
42
|
+
|
43
|
+
def platform_resolve_type_key(type)
|
44
|
+
"#{type.graphql_name}.resolve_type"
|
45
|
+
end
|
46
|
+
|
39
47
|
private
|
40
48
|
|
41
49
|
def instrument_execution(platform_key, key, data, &block)
|
@@ -30,6 +30,14 @@ module GraphQL
|
|
30
30
|
def platform_field_key(type, field)
|
31
31
|
"#{type.graphql_name}.#{field.graphql_name}"
|
32
32
|
end
|
33
|
+
|
34
|
+
def platform_authorized_key(type)
|
35
|
+
"#{type.graphql_name}.authorized"
|
36
|
+
end
|
37
|
+
|
38
|
+
def platform_resolve_type_key(type)
|
39
|
+
"#{type.graphql_name}.resolve_type"
|
40
|
+
end
|
33
41
|
end
|
34
42
|
end
|
35
43
|
end
|
@@ -57,6 +57,14 @@ module GraphQL
|
|
57
57
|
def platform_field_key(type, field)
|
58
58
|
"graphql.#{type.graphql_name}.#{field.graphql_name}"
|
59
59
|
end
|
60
|
+
|
61
|
+
def platform_authorized_key(type)
|
62
|
+
"graphql.authorized.#{type.graphql_name}"
|
63
|
+
end
|
64
|
+
|
65
|
+
def platform_resolve_type_key(type)
|
66
|
+
"graphql.resolve_type.#{type.graphql_name}"
|
67
|
+
end
|
60
68
|
end
|
61
69
|
end
|
62
70
|
end
|
data/lib/graphql/tracing.rb
CHANGED
@@ -18,12 +18,12 @@ module GraphQL
|
|
18
18
|
# __Warning:__ Installing/uninstalling tracers is not thread-safe. Do it during application boot only.
|
19
19
|
#
|
20
20
|
# @example Sending custom events
|
21
|
-
#
|
21
|
+
# query.trace("my_custom_event", { ... }) do
|
22
22
|
# # do stuff ...
|
23
23
|
# end
|
24
24
|
#
|
25
25
|
# @example Adding a tracer to a schema
|
26
|
-
# MySchema
|
26
|
+
# class MySchema < GraphQL::Schema
|
27
27
|
# tracer MyTracer # <= responds to .trace(key, data, &block)
|
28
28
|
# end
|
29
29
|
#
|
@@ -43,7 +43,11 @@ module GraphQL
|
|
43
43
|
# execute_query | `{ query: GraphQL::Query }`
|
44
44
|
# execute_query_lazy | `{ query: GraphQL::Query?, multiplex: GraphQL::Execution::Multiplex? }`
|
45
45
|
# execute_field | `{ context: GraphQL::Query::Context::FieldResolutionContext?, owner: Class?, field: GraphQL::Schema::Field?, query: GraphQL::Query?, path: Array<String, Integer>?}`
|
46
|
-
# execute_field_lazy | `{ context: GraphQL::Query::Context::FieldResolutionContext?, owner: Class?, field: GraphQL::Schema::Field?, query:
|
46
|
+
# execute_field_lazy | `{ context: GraphQL::Query::Context::FieldResolutionContext?, owner: Class?, field: GraphQL::Schema::Field?, query: GraphQL::Query?, path: Array<String, Integer>?}`
|
47
|
+
# authorized | `{ context: GraphQL::Query::Context, type: Class, object: Object, path: Array<String, Integer> }`
|
48
|
+
# authorized_lazy | `{ context: GraphQL::Query::Context, type: Class, object: Object, path: Array<String, Integer> }`
|
49
|
+
# resolve_type | `{ context: GraphQL::Query::Context, type: Class, object: Object, path: Array<String, Integer> }`
|
50
|
+
# resolve_type_lazy | `{ context: GraphQL::Query::Context, type: Class, object: Object, path: Array<String, Integer> }`
|
47
51
|
#
|
48
52
|
# Note that `execute_field` and `execute_field_lazy` receive different data in different settings:
|
49
53
|
#
|
data/lib/graphql/types/int.rb
CHANGED
@@ -106,7 +106,9 @@ module GraphQL
|
|
106
106
|
end
|
107
107
|
|
108
108
|
def edges
|
109
|
-
if
|
109
|
+
if @object.is_a?(GraphQL::Pagination::Connection)
|
110
|
+
@object.edges
|
111
|
+
elsif context.interpreter?
|
110
112
|
context.schema.after_lazy(object.edge_nodes) do |nodes|
|
111
113
|
nodes.map { |n| self.class.edge_class.new(n, object) }
|
112
114
|
end
|
data/lib/graphql/union_type.rb
CHANGED
@@ -1,31 +1,16 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
module GraphQL
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# The members of a union are declared with `possible_types`.
|
6
|
-
#
|
7
|
-
# @example A union of object types
|
8
|
-
# MediaUnion = GraphQL::UnionType.define do
|
9
|
-
# name "Media"
|
10
|
-
# description "Media objects which you can enjoy"
|
11
|
-
# possible_types [AudioType, ImageType, VideoType]
|
12
|
-
# end
|
13
|
-
#
|
14
|
-
# A union itself has no fields; only its members have fields.
|
15
|
-
# So, when you query, you must use fragment spreads to access fields.
|
16
|
-
#
|
17
|
-
# @example Querying for fields on union members
|
18
|
-
# {
|
19
|
-
# searchMedia(name: "Jens Lekman") {
|
20
|
-
# ... on Audio { name, duration }
|
21
|
-
# ... on Image { name, height, width }
|
22
|
-
# ... on Video { name, length, quality }
|
23
|
-
# }
|
24
|
-
# }
|
25
|
-
#
|
3
|
+
# @api deprecated
|
26
4
|
class UnionType < GraphQL::BaseType
|
5
|
+
# Rubocop was unhappy about the syntax when this was a proc literal
|
6
|
+
class AcceptPossibleTypesDefinition
|
7
|
+
def self.call(target, possible_types, options = {})
|
8
|
+
target.add_possible_types(possible_types, **options)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
27
12
|
accepts_definitions :resolve_type, :type_membership_class,
|
28
|
-
possible_types:
|
13
|
+
possible_types: AcceptPossibleTypesDefinition
|
29
14
|
ensure_defined :possible_types, :resolve_type, :resolve_type_proc, :type_membership_class
|
30
15
|
|
31
16
|
attr_accessor :resolve_type_proc
|
@@ -72,13 +57,13 @@ module GraphQL
|
|
72
57
|
# This is a re-assignment, so clear the previous values
|
73
58
|
@type_memberships = []
|
74
59
|
@cached_possible_types = nil
|
75
|
-
add_possible_types(types, {})
|
60
|
+
add_possible_types(types, **{})
|
76
61
|
end
|
77
62
|
|
78
|
-
def add_possible_types(types, options)
|
63
|
+
def add_possible_types(types, **options)
|
79
64
|
@type_memberships ||= []
|
80
65
|
Array(types).each { |t|
|
81
|
-
@type_memberships << self.type_membership_class.new(self, t, options)
|
66
|
+
@type_memberships << self.type_membership_class.new(self, t, **options)
|
82
67
|
}
|
83
68
|
nil
|
84
69
|
end
|
@@ -89,7 +74,7 @@ module GraphQL
|
|
89
74
|
# @return [GraphQL::ObjectType, nil] The type named `type_name` if it exists and is a member of this {UnionType}, (else `nil`)
|
90
75
|
def get_possible_type(type_name, ctx)
|
91
76
|
type = ctx.query.get_type(type_name)
|
92
|
-
type if type && ctx.query.
|
77
|
+
type if type && ctx.query.warden.possible_types(self).include?(type)
|
93
78
|
end
|
94
79
|
|
95
80
|
# Check if a type is a possible type of this {UnionType}
|
@@ -24,8 +24,8 @@ module GraphQL
|
|
24
24
|
@parent_type = parent_type
|
25
25
|
@resolved_type = resolved_type
|
26
26
|
@possible_types = possible_types
|
27
|
-
message = "The value from \"#{field.
|
28
|
-
"(Received: `#{resolved_type.inspect}`, Expected: [#{possible_types.map(&:
|
27
|
+
message = "The value from \"#{field.graphql_name}\" on \"#{parent_type.graphql_name}\" could not be resolved to \"#{field.type.to_type_signature}\". " \
|
28
|
+
"(Received: `#{resolved_type.inspect}`, Expected: [#{possible_types.map(&:graphql_name).join(", ")}]) " \
|
29
29
|
"Make sure you have defined a `resolve_type` proc on your schema and that value `#{value.inspect}` " \
|
30
30
|
"gets resolved to a valid type. You may need to add your type to `orphan_types` if it implements an " \
|
31
31
|
"interface but isn't a return type of any other field."
|
data/lib/graphql/version.rb
CHANGED
data/lib/graphql.rb
CHANGED
@@ -84,6 +84,7 @@ require "graphql/tracing"
|
|
84
84
|
require "graphql/execution"
|
85
85
|
require "graphql/dig"
|
86
86
|
require "graphql/schema"
|
87
|
+
require "graphql/query"
|
87
88
|
require "graphql/directive"
|
88
89
|
require "graphql/execution"
|
89
90
|
require "graphql/types"
|
@@ -107,7 +108,6 @@ require "graphql/invalid_name_error"
|
|
107
108
|
require "graphql/unresolved_type_error"
|
108
109
|
require "graphql/integer_encoding_error"
|
109
110
|
require "graphql/string_encoding_error"
|
110
|
-
require "graphql/query"
|
111
111
|
require "graphql/internal_representation"
|
112
112
|
require "graphql/static_validation"
|
113
113
|
require "graphql/version"
|
@@ -123,3 +123,4 @@ require "graphql/authorization"
|
|
123
123
|
require "graphql/unauthorized_error"
|
124
124
|
require "graphql/unauthorized_field_error"
|
125
125
|
require "graphql/load_application_object_failed_error"
|
126
|
+
require "graphql/pagination"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.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: 2020-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|
@@ -198,14 +198,14 @@ dependencies:
|
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version: '
|
201
|
+
version: '12'
|
202
202
|
type: :development
|
203
203
|
prerelease: false
|
204
204
|
version_requirements: !ruby/object:Gem::Requirement
|
205
205
|
requirements:
|
206
206
|
- - "~>"
|
207
207
|
- !ruby/object:Gem::Version
|
208
|
-
version: '
|
208
|
+
version: '12'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
210
|
name: rubocop
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
@@ -484,6 +484,14 @@ files:
|
|
484
484
|
- lib/graphql/name_validator.rb
|
485
485
|
- lib/graphql/non_null_type.rb
|
486
486
|
- lib/graphql/object_type.rb
|
487
|
+
- lib/graphql/pagination.rb
|
488
|
+
- lib/graphql/pagination/active_record_relation_connection.rb
|
489
|
+
- lib/graphql/pagination/array_connection.rb
|
490
|
+
- lib/graphql/pagination/connection.rb
|
491
|
+
- lib/graphql/pagination/connections.rb
|
492
|
+
- lib/graphql/pagination/mongoid_relation_connection.rb
|
493
|
+
- lib/graphql/pagination/relation_connection.rb
|
494
|
+
- lib/graphql/pagination/sequel_dataset_connection.rb
|
487
495
|
- lib/graphql/parse_error.rb
|
488
496
|
- lib/graphql/query.rb
|
489
497
|
- lib/graphql/query/arguments.rb
|
@@ -539,6 +547,7 @@ files:
|
|
539
547
|
- lib/graphql/schema/default_parse_error.rb
|
540
548
|
- lib/graphql/schema/default_type_error.rb
|
541
549
|
- lib/graphql/schema/directive.rb
|
550
|
+
- lib/graphql/schema/directive/deprecated.rb
|
542
551
|
- lib/graphql/schema/directive/feature.rb
|
543
552
|
- lib/graphql/schema/directive/include.rb
|
544
553
|
- lib/graphql/schema/directive/skip.rb
|
@@ -565,12 +574,14 @@ files:
|
|
565
574
|
- lib/graphql/schema/member/cached_graphql_definition.rb
|
566
575
|
- lib/graphql/schema/member/graphql_type_names.rb
|
567
576
|
- lib/graphql/schema/member/has_arguments.rb
|
577
|
+
- lib/graphql/schema/member/has_ast_node.rb
|
568
578
|
- lib/graphql/schema/member/has_fields.rb
|
569
579
|
- lib/graphql/schema/member/has_path.rb
|
570
580
|
- lib/graphql/schema/member/instrumentation.rb
|
571
581
|
- lib/graphql/schema/member/relay_shortcuts.rb
|
572
582
|
- lib/graphql/schema/member/scoped.rb
|
573
583
|
- lib/graphql/schema/member/type_system_helpers.rb
|
584
|
+
- lib/graphql/schema/member/validates_input.rb
|
574
585
|
- lib/graphql/schema/middleware_chain.rb
|
575
586
|
- lib/graphql/schema/mutation.rb
|
576
587
|
- lib/graphql/schema/non_null.rb
|